UNPKG

casbin

Version:

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

9 lines (8 loc) 268 B
export declare class EnforceContext { pType: string; rType: string; eType: string; mType: string; constructor(rType: string, pType: string, eType: string, mType: string); } export declare const newEnforceContext: (index: string) => EnforceContext;