UNPKG

casbin

Version:

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS

11 lines (10 loc) 276 B
export declare class FunctionMap { private functions; /** * constructor is the constructor for FunctionMap. */ constructor(); static loadFunctionMap(): FunctionMap; addFunction(name: string, func: any): void; getFunctions(): any; }