-
Couldn't load subscription status.
- Fork 2
auth.Class.JwtGuard
Sclable CI edited this page Oct 7, 2024
·
7 revisions
@sclable/nestjs-libs / auth / JwtGuard
IAuthGuard
new JwtGuard(
reflector,localGuard):JwtGuard
• reflector: Reflector
• localGuard: LocalGuard
AuthGuard('jwt').constructor
packages/auth/src/guards/jwt.guard.ts:10
canActivate(
context):boolean|Promise<boolean> |Observable<boolean>
• context: ExecutionContext
Current execution context. Provides access to details about the current request pipeline.
boolean | Promise<boolean> | Observable<boolean>
Value indicating whether or not the current request is allowed to proceed.
AuthGuard('jwt').canActivate