-
Notifications
You must be signed in to change notification settings - Fork 2
auth.Class.KeycloakGuard
Sclable CI edited this page Oct 7, 2024
·
7 revisions
@sclable/nestjs-libs / auth / KeycloakGuard
IAuthGuard
new KeycloakGuard(
reflector
):KeycloakGuard
• reflector: Reflector
AuthGuard('keycloak').constructor
packages/auth/src/guards/keycloak.guard.ts:9
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('keycloak').canActivate