Properties
Private isProduction
isProduction: boolean
Methods
canActivate
- canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>
-
Parameters
-
context: ExecutionContext
Returns boolean
|
Promise<boolean>
|
Observable<boolean>
Extends Passport's default AuthGuard with a new implementation that allows everything through when not in production.