| 311 | } |
| 312 | |
| 313 | export declare class Auth implements IAuth { |
| 314 | readonly app: FirebaseApp; |
| 315 | readonly currentUser: User | null; |
| 316 | languageCode: string; |
| 317 | readonly settings: AuthSettings; |
| 318 | readonly tenantId: string; |
| 319 | |
| 320 | useEmulator(host: string, port: number); |
| 321 | |
| 322 | applyActionCode(code: string): Promise<void>; |
| 323 | |
| 324 | checkActionCode(code: string): Promise<ActionCodeInfo>; |
| 325 | |
| 326 | confirmPasswordReset(code: string, newPassword: string): Promise<void>; |
| 327 | |
| 328 | createUserWithEmailAndPassword(email: string, password: string): Promise<UserCredential>; |
| 329 | |
| 330 | fetchSignInMethodsForEmail(email: string): Promise<string[]>; |
| 331 | |
| 332 | isSignInWithEmailLink(emailLink: string): boolean; |
| 333 | |
| 334 | addAuthStateChangeListener(listener: (user: User) => void); |
| 335 | |
| 336 | removeAuthStateChangeListener(listener: (user: User) => void); |
| 337 | |
| 338 | addIdTokenChangeListener(listener: (user: User) => void); |
| 339 | |
| 340 | removeIdTokenChangListener(listener: (user: User) => void); |
| 341 | |
| 342 | sendPasswordResetEmail(email: string, actionCodeSettings?: ActionCodeSettings): Promise<void>; |
| 343 | |
| 344 | sendSignInLinkToEmail(email: string, actionCodeSettings?: ActionCodeSettings): Promise<void>; |
| 345 | |
| 346 | signInAnonymously(): Promise<UserCredential>; |
| 347 | |
| 348 | signInWithProvider(provider: OAuthProvider): Promise<UserCredential>; |
| 349 | |
| 350 | getProviderCredential(provider: OAuthProvider): Promise<OAuthCredential>; |
| 351 | |
| 352 | signInWithCredential(credential: AuthCredential): Promise<UserCredential>; |
| 353 | |
| 354 | signInWithCustomToken(customToken: string): Promise<UserCredential>; |
| 355 | |
| 356 | signInWithEmailAndPassword(email: string, password: string): Promise<UserCredential>; |
| 357 | |
| 358 | signInWithEmailLink(email: string, emailLink: string): Promise<UserCredential>; |
| 359 | |
| 360 | signOut(): Promise<boolean>; |
| 361 | |
| 362 | useUserAccessGroup(userAccessGroup: string): Promise<void>; |
| 363 | |
| 364 | verifyPasswordResetCode(code: string): Promise<string>; |
| 365 | } |
| 366 | |
| 367 | declare module '@nativescript/firebase-core' { |
| 368 | export interface Firebase extends FirebaseAuth {} |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…