MCPcopy Index your code
hub / github.com/angular/angularfire / provideAuth

Function provideAuth

src/auth/auth.module.ts:59–78  ·  view source on GitHub ↗
(fn: (injector: Injector) => FirebaseAuth, ...deps: any[])

Source from the content-addressed store, hash-verified

57}
58
59export function provideAuth(fn: (injector: Injector) => FirebaseAuth, ...deps: any[]): EnvironmentProviders {
60 registerVersion('angularfire', VERSION.full, 'auth');
61 return makeEnvironmentProviders([
62 DEFAULT_AUTH_INSTANCE_PROVIDER,
63 AUTH_INSTANCES_PROVIDER,
64 {
65 provide: PROVIDED_AUTH_INSTANCES,
66 useFactory: authInstanceFactory(fn),
67 multi: true,
68 deps: [
69 NgZone,
70 Injector,
71 ɵAngularFireSchedulers,
72 FirebaseApps,
73 [new Optional(), AppCheckInstances ],
74 ...deps,
75 ]
76 }
77 ]);
78}

Callers 4

app.config.tsFile · 0.90
auth.spec.tsFile · 0.90
auth-guard.spec.tsFile · 0.90
app-check.spec.tsFile · 0.90

Calls 1

authInstanceFactoryFunction · 0.85

Tested by

no test coverage detected