@5minds/processcube_engine
Version:
The ProcessCube Engine. Stores and executes BPMNs.
18 lines (17 loc) • 785 B
TypeScript
import { InternalIdentity } from '../../Contracts/InternalDataModels/Identity';
export declare class IamService {
private claimChecksDisabled;
private rootAccessTokenAllowed;
private config;
private readonly logger;
constructor();
initialize(): void;
getAuthorityAddress(): string;
ensureHasClaim(identity: InternalIdentity, claimName: string, claimValue?: any): void;
checkIfIdentityHasClaim(identity: InternalIdentity, claimName: string, claimValue?: any): boolean;
checkIfUserIsObserver(identity: InternalIdentity): boolean;
checkIfUserIsSuperAdmin(identity: InternalIdentity): boolean;
checkIfTokenIsInternalToken(token: string): boolean;
checkIfTokenIsRootAccessToken(token: string): boolean;
private checkIfUserHasClaim;
}