Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthGuard

Extends Passport's default AuthGuard with a new implementation that allows everything through when not in production.

Hierarchy

  • CanActivate & object
    • AuthGuard

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private isProduction

isProduction: boolean

Methods

canActivate

  • canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>

Generated using TypeDoc