Class: AuthGithubGuard
Extends
- object
Constructors
new AuthGithubGuard()
new AuthGithubGuard(
authenticationSettings,reflector):AuthGithubGuard
Parameters
| Parameter | Type | 
|---|---|
| authenticationSettings | AuthenticationSettingsInterface | 
| reflector | Reflector | 
Returns
Inherited from
AuthGuard(AUTH_GITHUB_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_GITHUB_STRATEGY_NAME, { canDisable: false, }).authenticationSettings | 
| options | readonly | AuthGuardOptions | AuthGuard(AUTH_GITHUB_STRATEGY_NAME, { canDisable: false, }).options | 
| reflector | readonly | Reflector | AuthGuard(AUTH_GITHUB_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_GITHUB_STRATEGY_NAME, { canDisable: false, }).canActivate
Defined in
packages/nestjs-authentication/dist/guards/auth.guard.d.ts:10