-
Notifications
You must be signed in to change notification settings - Fork 2
auth.Class.LocalGuard
Sclable CI edited this page Oct 7, 2024
·
7 revisions
@sclable/nestjs-libs / auth / LocalGuard
IAuthGuard
new LocalGuard(...
args):LocalGuard
• ...args: any[]
AuthGuard('local').constructor
node_modules/@nestjs/passport/dist/interfaces/type.interface.d.ts:2
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('local').canActivate