-
Notifications
You must be signed in to change notification settings - Fork 2
auth.Class.MockGuard
Sclable CI edited this page Oct 7, 2024
·
7 revisions
@sclable/nestjs-libs / auth / MockGuard
IAuthGuard
new MockGuard(...
args
):MockGuard
• ...args: any
[]
AuthGuard('mock').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('mock').canActivate