UNPKG

@elsikora/nestjs-crud-automator

Version:

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

15 lines (14 loc) 586 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 resolveIdentityParameters; private resolveRequestMetadata; private resolveRouteMetadata; }