@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
20 lines • 781 B
TypeScript
import { AccessRule } from './AccessRule';
import { MethodEnum } from './MethodEnum';
/** Details about the authentication used */
export interface Details {
/** Customer identifier */
account: string;
/** Allowed API routes, null means everything */
allowedRoutes?: AccessRule[];
/** Description of the authenticated identity */
description?: string;
/** Identities of the current session: corresponds to all the authentication provider identities that could be used to match IAM policies */
identities: string[];
/** Authentication method */
method: MethodEnum;
/** Roles of the authenticated identity */
roles?: string[];
/** Username of the authenticated identity */
user?: string;
}
//# sourceMappingURL=Details.d.ts.map