Skip to content

Add module import and providers to auth-guard docs #2122

@ribomation

Description

@ribomation

Append to the code snippet about auth-guard how to import and configure providers of the new AngularFireAuthGuard. Something like

@NgModule({
  imports: [
    RouterModule.forChild(routes),
    AngularFireAuthModule,
  ],
  providers: [
    AngularFireAuthGuard
  ],
  exports: [RouterModule]
})
export class MyRoutingModule {}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions