NeahNew/node_modules/@keycloak/keycloak-admin-client/lib/defs/roleRepresentation.d.ts
2025-05-03 15:36:20 +02:00

30 lines
675 B
TypeScript

/**
* https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_rolerepresentation
*/
export default interface RoleRepresentation {
id?: string;
name?: string;
description?: string;
scopeParamRequired?: boolean;
composite?: boolean;
composites?: Composites;
clientRole?: boolean;
containerId?: string;
attributes?: {
[index: string]: string[];
};
}
export interface Composites {
realm?: string[];
client?: {
[index: string]: string[];
};
application?: {
[index: string]: string[];
};
}
export interface RoleMappingPayload extends RoleRepresentation {
id: string;
name: string;
}