@rxap/firebase
Version:
This package provides Angular modules and services to integrate with Firebase, including App Check, Messaging, and Storage. It offers providers for configuring Firebase options and emulators, as well as an HTTP interceptor for App Check. The package also
22 lines (21 loc) • 1.09 kB
TypeScript
import { BehaviorSubject, Observable } from 'rxjs';
import { Auth, AuthProvider, User } from '@angular/fire/auth';
import * as i0 from "@angular/core";
export declare class IdentityPlatformService {
readonly auth: Auth;
isAuthenticated$: BehaviorSubject<boolean | null>;
readonly user: Observable<User | null>;
constructor(auth: Auth);
requestPasswordReset(email: string): Promise<boolean>;
sendPasswordReset(password: string, token: string): Promise<boolean>;
signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean>;
signOut(): Promise<boolean>;
google(popup?: boolean): Promise<boolean>;
github(popup?: boolean): Promise<boolean>;
facebook(popup?: boolean): Promise<boolean>;
twitter(popup?: boolean): Promise<boolean>;
isAuthenticated(): Promise<boolean>;
protected withProvider(provider: AuthProvider, popup?: boolean): Promise<boolean>;
static ɵfac: i0.ɵɵFactoryDeclaration<IdentityPlatformService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<IdentityPlatformService>;
}