UNPKG

@angular/fire

Version:
39 lines (34 loc) • 1.86 kB
import * as rxjs from 'rxjs'; import { AppCheck as AppCheck$1, getLimitedUseToken as getLimitedUseToken$1, getToken as getToken$1, initializeAppCheck as initializeAppCheck$1, onTokenChanged as onTokenChanged$1, setTokenAutoRefreshEnabled as setTokenAutoRefreshEnabled$1 } from 'firebase/app-check'; export * from 'firebase/app-check'; import * as i0 from '@angular/core'; import { InjectionToken, Injector, EnvironmentProviders } from '@angular/core'; interface AppCheck extends AppCheck$1 { } declare class AppCheck { constructor(appCheck: AppCheck$1); } interface AppCheckInstances extends Array<AppCheck> { } declare class AppCheckInstances { constructor(); } declare const appCheckInstance$: rxjs.Observable<AppCheck$1>; /** * Set to `true` in a server-only config to run `provideAppCheck` during server rendering. * By default App Check is skipped there, and `AppCheck` injects as `null`. */ declare const APP_CHECK_ON_SERVER: InjectionToken<boolean>; declare class AppCheckModule { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<AppCheckModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<AppCheckModule, never, never, never>; static ɵinj: i0.ɵɵInjectorDeclaration<AppCheckModule>; } declare function provideAppCheck(fn: (injector: Injector) => AppCheck$1, ...deps: any[]): EnvironmentProviders; declare const getLimitedUseToken: typeof getLimitedUseToken$1; declare const getToken: typeof getToken$1; declare const initializeAppCheck: typeof initializeAppCheck$1; declare const onTokenChanged: typeof onTokenChanged$1; declare const setTokenAutoRefreshEnabled: typeof setTokenAutoRefreshEnabled$1; export { APP_CHECK_ON_SERVER, AppCheck, AppCheckInstances, AppCheckModule, appCheckInstance$, getLimitedUseToken, getToken, initializeAppCheck, onTokenChanged, provideAppCheck, setTokenAutoRefreshEnabled };