@nowzoo/ngx-firebase-auth
Version:
Angular components for Firebase email-first sign in and out-of-band (oob) actions (reset password, etc).
28 lines (27 loc) • 1.02 kB
TypeScript
import { OnInit, EventEmitter } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
import { AngularFireAuth } from 'angularfire2/auth';
import { auth } from 'firebase/app';
import { INgxFirebaseAuthOobSuccess } from '../../shared';
import { NgxFirebaseAuthService } from '../../ngx-firebase-auth.service';
export declare class OobResetPasswordComponent implements OnInit {
private _afAuth;
private _authService;
oobCode: string;
success: EventEmitter<INgxFirebaseAuthOobSuccess>;
screen: 'wait' | 'form' | 'error' | 'success';
info: auth.ActionCodeInfo;
submitting: boolean;
formId: string;
fg: FormGroup;
emailFc: FormControl;
passwordFc: FormControl;
rememberFc: FormControl;
unhandledError: auth.Error;
cred: auth.UserCredential;
constructor(_afAuth: AngularFireAuth, _authService: NgxFirebaseAuthService);
readonly auth: auth.Auth;
readonly authService: NgxFirebaseAuthService;
ngOnInit(): void;
submit(): void;
}