UNPKG

@zigatech/keycloak-auth

Version:

Keycloak authorization library for NestJS. Works out of the box.

8 lines (7 loc) 288 B
import { CanActivate, ExecutionContext } from "@nestjs/common"; import { Reflector } from "@nestjs/core"; export declare class AuthGuard implements CanActivate { private reflector; constructor(reflector: Reflector); canActivate(context: ExecutionContext): Promise<boolean>; }