UNPKG

@nowzoo/ngx-firebase-auth

Version:

Angular components for Firebase email-first sign in and out-of-band (oob) actions (reset password, etc).

41 lines (40 loc) 1.57 kB
import { OnInit, AfterViewInit, EventEmitter, NgZone, ElementRef } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { AngularFireAuth } from 'angularfire2/auth'; import { auth } from 'firebase/app'; import { ISignInMethodsForEmailResult } from '../../shared'; import { NgxFirebaseAuthService } from '../../ngx-firebase-auth.service'; export declare class SignInMethodsFormComponent implements OnInit, AfterViewInit { private _afAuth; private _authService; private _ngZone; emailInput: ElementRef; email: string; remember: boolean; oAuthProviderIds: string[]; emailChange: EventEmitter<string>; rememberChange: EventEmitter<boolean>; success: EventEmitter<auth.UserCredential>; error: EventEmitter<auth.Error>; formId: string; submitting: boolean; fg: FormGroup; emailFc: FormControl; rememberFc: FormControl; getOAuthProviderIcon: (id: string) => string; getOAuthProviderName: (id: string) => string; methodsForEmail: ISignInMethodsForEmailResult; constructor(_afAuth: AngularFireAuth, _authService: NgxFirebaseAuthService, _ngZone: NgZone); readonly auth: auth.Auth; readonly authService: NgxFirebaseAuthService; readonly methods: string[]; readonly fetchStatus: string; readonly methodsFetched: boolean; readonly accountIsNew: boolean; readonly accountExists: boolean; readonly accountHasPassword: boolean; readonly accountOAuthMethods: string[]; ngOnInit(): void; ngAfterViewInit(): void; fetch(): void; }