@5minds/processcube_engine
Version:
The ProcessCube Engine. Stores and executes BPMNs.
11 lines (10 loc) • 550 B
TypeScript
import { IIamExtensionAdapter, Identity } from '@5minds/processcube_engine_sdk';
import { IamService, IdentityService } from '../../Iam';
export declare class IamExtensionAdapter implements IIamExtensionAdapter {
private readonly iamService;
private readonly identityService;
private readonly logger;
constructor(iamService: IamService, identityService: IdentityService);
ensureHasClaim(identity: Identity, claimName: string, claimValue?: any): Promise<void>;
getIdentity(token: string, userId?: string): Promise<Identity>;
}