interface User {
    email: string;
    functionalities: AuthenticationFunctionalities;
    is_intranet: boolean;
    is_password_changed: boolean;
    login_type?: string;
    otp_key: string;
    otp_uri: string;
    roles: RoleInfo[];
    two_factor_totp_secret: string;
    username: string;
}

Properties

email: string

User's email address.

Configured functionalities of the user.

is_intranet: boolean

The user is in the intranet.

is_password_changed: boolean

True if the password of the user has been changed. False otherwise.

login_type?: string

The server-side login type (oidc or local)

otp_key: string

The one-time-password Key

otp_uri: string

The one-time-password URI

roles: RoleInfo[]

Roles information.

two_factor_totp_secret: string

The two-factor authentication secret on first login

username: string

The name of the user.