File

src/app/core/user/user-admin-service/user-account.ts

Description

User Account from external Authentication provider like Keycloak.

Index

Properties

Properties

email
email: string
Type : string
Optional
emailVerified
emailVerified: boolean
Type : boolean
Optional
enabled
enabled: boolean
Type : boolean
id
id: string
Type : string
roles
roles: Role[]
Type : Role[]
Optional
userEntityId
userEntityId: string
Type : string
Optional

The entity id (in the business logic database) of the record that is linked as this user account's "profile". --> see CurrentUserSubject

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;
}

results matching ""

    No results matching ""