src/app/core/user/user-admin-service/user-account.ts
User Account from external Authentication provider like Keycloak.
Properties |
|
email:
|
Type : string
|
Optional |
emailVerified |
emailVerified:
|
Type : boolean
|
Optional |
enabled |
enabled:
|
Type : boolean
|
id |
id:
|
Type : string
|
roles |
roles:
|
Type : Role[]
|
Optional |
userEntityId |
userEntityId:
|
Type : string
|
Optional |
The entity id (in the business logic database) of the record that is linked as this user account's "profile".
--> see |
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;
}