Class: AuthRefreshGuard
Extends
object
Constructors
new AuthRefreshGuard()
new AuthRefreshGuard(
authenticationSettings,reflector):AuthRefreshGuard
Parameters
| Parameter | Type |
|---|---|
authenticationSettings | AuthenticationSettingsInterface |
reflector | Reflector |
Returns
Inherited from
AuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).constructor
Defined in
packages/nestjs-authentication/dist/guards/auth.guard.d.ts:6
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
authenticationSettings | readonly | AuthenticationSettingsInterface | AuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).authenticationSettings |
options | readonly | AuthGuardOptions | AuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).options |
reflector | readonly | Reflector | AuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).reflector |
Methods
canActivate()
canActivate(
context):boolean|Promise<boolean> |Observable<boolean>
Parameters
| Parameter | Type |
|---|---|
context | ExecutionContext |
Returns
boolean | Promise<boolean> | Observable<boolean>
Inherited from
AuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).canActivate
Defined in
packages/nestjs-authentication/dist/guards/auth.guard.d.ts:10