UNPKG

@wikiccu/nest-auth

Version:

A comprehensive authentication package for NestJS applications with Prisma and PostgreSQL

8 lines (7 loc) 280 B
import { CanActivate, ExecutionContext } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; export declare class RolesGuard implements CanActivate { private reflector; constructor(reflector: Reflector); canActivate(context: ExecutionContext): boolean; }