src/app/core/user/user-admin-service/user-account.ts
User Role object. also see https://www.keycloak.org/docs-api/19.0.3/rest-api/index.html#_rolerepresentation
Properties |
|
description |
description:
|
Type : string
|
Optional |
id |
id:
|
Type : string
|
name |
name:
|
Type : string
|
export interface UserAccount {
id: string;
email?: string;
/**
* The entity id (in the business logic database) of the record that is linked as this user account's "profile".
* --> see `CurrentUserSubject`
*/
userEntityId?: string;
enabled: boolean;
emailVerified?: boolean;
roles?: Role[];
}
/**
* User Role object.
* also see {@link https://www.keycloak.org/docs-api/19.0.3/rest-api/index.html#_rolerepresentation}
*/
export interface Role {
id: string;
name: string;
description?: string;
}