import { Identity } from './Identity'; export interface IIamService { getAuthorityAddress(): string; ensureHasClaim(identity: Identity, claimName: string, claimValue?: string): void | Promise; checkIfUserIsSuperAdmin(identity: Identity): boolean | Promise; checkIfUserIsObserver(identity: Identity): boolean; checkIfTokenIsInternalToken(token: string): boolean; checkIfTokenIsRootAccessToken(token: string): boolean; }