@jcamelis/fb-ng-auth
v0.0.5
Published
``` npm i @jcamelis/fb-ng-auth --save ```
Downloads
21
Readme
FbNgAuth
npm i @jcamelis/fb-ng-auth --save
Dependencies
"dependencies": {
"@angular/cdk": "^17.3.0",
"@angular/common": "^17.3.0",
"@angular/core": "^17.3.0",
"@angular/fire": "^17.0.1",
"@angular/flex-layout": "^15.0.0-beta.42",
"@angular/forms": "^17.0.0",
"@angular/material": "^17.3.2",
"@angular/material-moment-adapter": "^17.3.2",
"@angular/router": "^17.0.0"
}
Imports Required in app module
import { AuthService, FbNgAuthModule } from '@jcamelis/fb-ng-auth';
@NgModule({
imports: [
// ...
provideFirebaseApp(() => initializeApp(environment.firebase)),
provideAuth(() => getAuth()),
provideAnalytics(() => getAnalytics()),
provideFirestore(() => getFirestore()),
provideStorage(() => getStorage()),
FbNgAuthModule,
],
providers: [
// ...
{
provide: FIREBASE_OPTIONS, useValue: environment.firebase
},
AuthService,
]
})
export class AppModule {}