API Reference
Rockets Core API
nestjs-auth-refresh
classes
AuthRefreshGuard

Class: AuthRefreshGuard

Extends

  • object

Constructors

new AuthRefreshGuard()

new AuthRefreshGuard(authenticationSettings, reflector): AuthRefreshGuard

Parameters

ParameterType
authenticationSettingsAuthenticationSettingsInterface
reflectorReflector

Returns

AuthRefreshGuard

Inherited from

AuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).constructor

Defined in

packages/nestjs-authentication/dist/guards/auth.guard.d.ts:6

Properties

PropertyModifierTypeInherited from
authenticationSettingsreadonlyAuthenticationSettingsInterfaceAuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).authenticationSettings
optionsreadonlyAuthGuardOptionsAuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).options
reflectorreadonlyReflectorAuthGuard( AUTH_REFRESH_MODULE_STRATEGY_NAME, { canDisable: false, }, ).reflector

Methods

canActivate()

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

Parameters

ParameterType
contextExecutionContext

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