ez-firebase-auth
Version:
Easy Firebase Auth for Angular 4.x
26 lines (25 loc) • 913 B
TypeScript
import { OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import 'rxjs/add/operator/combineLatest';
import 'rxjs/add/operator/debounceTime';
import * as firebase from 'firebase';
import { EzfaService } from '../../ezfa.service';
import { BaseComponent } from '../base.component';
export declare class EmailSignInFormComponent extends BaseComponent implements OnInit {
fb: FormBuilder;
static FETCH_TIMEOUT: number;
email: string;
id: string;
fg: FormGroup;
signUpFg: FormGroup;
submitting: boolean;
fetchStatus: 'unfetched' | 'fetched' | 'fetching';
accountExists: boolean;
accountExistsWithoutPassword: boolean;
accountOauthProviders: string[];
unhandledError: firebase.FirebaseError | null;
constructor(fb: FormBuilder, service: EzfaService);
ngOnInit(): void;
submit(): void;
fetchAccountByEmail(): void;
}