@restorecommerce/acs-client
Version:
Access Control Service Client
56 lines • 1.36 kB
TypeScript
export declare let cfg: any;
export declare const errors: {
INVALID_CREDENTIALS: {
code: number;
message: string;
};
USER_NOT_LOGGED_IN: {
code: number;
message: string;
};
ACTION_NOT_ALLOWED: {
code: number;
message: string;
};
SYSTEM_ERROR: {
code: number;
message: string;
};
};
export type KnownErrors = typeof errors;
export declare const urns: {
model: string;
entity: string;
role: string;
roleScopingEntity: string;
roleScopingInstance: string;
hierarchicalRoleScoping: string;
unauthenticated_user: string;
property: string;
ownerIndicatoryEntity: string;
ownerInstance: string;
subjectID: string;
resourceID: string;
actionID: string;
action: string;
operation: string;
execute: string;
permitOverrides: string;
denyOverrides: string;
create: string;
read: string;
modify: string;
delete: string;
aclIndicatoryEntity: string;
aclInstance: string;
skipACL: string;
maskedProperty: string;
};
export type KnownUrns = typeof urns;
export declare const entities: {
user: string;
organization: string;
};
export type KnownEntities = typeof entities;
export declare const updateConfig: (config: any) => void;
//# sourceMappingURL=config.d.ts.map