API Reference
Rockets Core API
nestjs-auth-github
classes
AuthGithubGuard

Class: AuthGithubGuard

Extends

  • object

Constructors

new AuthGithubGuard()

new AuthGithubGuard(authenticationSettings, reflector): AuthGithubGuard

Parameters

ParameterType
authenticationSettingsAuthenticationSettingsInterface
reflectorReflector

Returns

AuthGithubGuard

Inherited from

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

Defined in

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

Properties

PropertyModifierTypeInherited from
authenticationSettingsreadonlyAuthenticationSettingsInterfaceAuthGuard(AUTH_GITHUB_STRATEGY_NAME, { canDisable: false, }).authenticationSettings
optionsreadonlyAuthGuardOptionsAuthGuard(AUTH_GITHUB_STRATEGY_NAME, { canDisable: false, }).options
reflectorreadonlyReflectorAuthGuard(AUTH_GITHUB_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_GITHUB_STRATEGY_NAME, { canDisable: false, }).canActivate

Defined in

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