UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

14 lines (13 loc) 547 B
import { ApiAuthorizationRuntime } from './runtime.class'; import { CanActivate, ExecutionContext } from '@nestjs/common'; export declare class ApiAuthorizationGuard implements CanActivate { private readonly runtime; constructor(runtime: ApiAuthorizationRuntime); canActivate(context: ExecutionContext): Promise<boolean>; private attachDecisionToRequest; private isControllerSecurable; private resolveControllerProperties; private resolveHeaders; private resolveRequestMetadata; private resolveRouteMetadata; }