UNPKG

casbin

Version:

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

15 lines (14 loc) 531 B
import { FileAdapter } from './fileAdapter'; import { BatchAdapter } from './batchAdapter'; /** * BatchFileAdapter is the file adapter for Casbin. * It can add policies and remove policies. * @deprecated The class should not be used, you should use FileAdapter. */ export declare class BatchFileAdapter extends FileAdapter implements BatchAdapter { /** * FileAdapter is the constructor for FileAdapter. * @param {string} filePath filePath the path of the policy file. */ constructor(filePath: string); }