@nowzoo/ngx-firebase-auth
Version:
Angular components for Firebase email-first sign in and out-of-band (oob) actions (reset password, etc).
31 lines (30 loc) • 1.14 kB
TypeScript
import { OnInit, AfterViewInit, EventEmitter, ElementRef } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { AngularFireAuth } from 'angularfire2/auth';
import { auth } from 'firebase/app';
import { NgxFirebaseAuthService } from '../../ngx-firebase-auth.service';
export declare class SignInFormComponent implements OnInit, AfterViewInit {
private _afAuth;
private _authService;
passwordInput: ElementRef;
email: string;
remember: boolean;
rememberChange: EventEmitter<boolean>;
success: EventEmitter<auth.UserCredential>;
error: EventEmitter<auth.Error>;
formId: string;
submitting: boolean;
fg: FormGroup;
emailFc: FormControl;
passwordFc: FormControl;
rememberFc: FormControl;
methodsForEmail: string[];
getOAuthProviderIcon: (id: string) => string;
getOAuthProviderName: (id: string) => string;
constructor(_afAuth: AngularFireAuth, _authService: NgxFirebaseAuthService);
readonly auth: auth.Auth;
readonly authService: NgxFirebaseAuthService;
ngOnInit(): void;
ngAfterViewInit(): void;
submit(): void;
}