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

Function authInstanceFactory

src/auth/auth.module.ts:24–29  ·  view source on GitHub ↗
(fn: (injector: Injector) => FirebaseAuth)

Source from the content-addressed store, hash-verified

22}
23
24export function authInstanceFactory(fn: (injector: Injector) => FirebaseAuth) {
25 return (zone: NgZone, injector: Injector) => {
26 const auth = zone.runOutsideAngular(() => fn(injector));
27 return new Auth(auth);
28 };
29}
30
31const AUTH_INSTANCES_PROVIDER = {
32 provide: AuthInstances,

Callers 1

provideAuthFunction · 0.85

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected