UNPKG

nowjs-core

Version:

NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence

6 lines (5 loc) 400 B
import 'reflect-metadata'; import { AuthorizeOptions } from './SecurityManager'; export declare const SECURITY_AUTHORIZE_METADATA_KEY: unique symbol; export declare const SECURITY_SECURITY_MANAGER_METADATA_KEY: unique symbol; export declare function authorize(options?: AuthorizeOptions): (target: Record<string, any>, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>) => void;