Class: AuthenticationGuard
Implements
CanActivate
Constructors
constructor
• new AuthenticationGuard(userService
, authenticationService
): AuthenticationGuard
Parameters
Name | Type |
---|---|
userService | UserService |
authenticationService | AuthenticationService |
Returns
Defined in
lib/src/authentication/authentication.guard.ts:9
Methods
canActivate
▸ canActivate(context
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
context | ExecutionContext |
Returns
Promise
<boolean
>
Implementation of
CanActivate.canActivate