-
Notifications
You must be signed in to change notification settings - Fork 2
auth.JwtGuard
Sclable CI edited this page Sep 11, 2024
·
198 revisions
auth.JwtGuard
-
IAuthGuard
↳
JwtGuard
• new JwtGuard(reflector
, localGuard
): JwtGuard
Name | Type |
---|---|
reflector |
Reflector |
localGuard |
LocalGuard |
AuthGuard('jwt').constructor
packages/auth/src/guards/jwt.guard.ts:10
• Private
Readonly
localGuard: LocalGuard
packages/auth/src/guards/jwt.guard.ts:12
• Private
Readonly
reflector: Reflector
packages/auth/src/guards/jwt.guard.ts:11
▸ canActivate(context
): boolean
| Promise
<boolean
> | Observable
<boolean
>
Name | Type |
---|---|
context |
ExecutionContext |
boolean
| Promise
<boolean
> | Observable
<boolean
>
AuthGuard('jwt').canActivate