Hiyve Components - v1.0.0
    Preparing search index...

    Authenticated user profile.

    Returned by login, registration, and TFA verification. Additional properties from the identity service are available via the index signature.

    interface AuthUser {
        email: string;
        emailVerified?: boolean;
        id: string;
        name?: string;
        roles?: string[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional user properties from the identity service

    Index

    Properties

    email: string

    User email address

    emailVerified?: boolean

    Whether the user's email has been verified

    id: string

    Unique user identifier

    name?: string

    Display name (optional)

    roles?: string[]

    Additive role memberships (e.g. ['private-files', 'public-files']).

    Distinct from persona roles stored elsewhere (e.g. metadata.role). Roles here gate feature access such as the FileManager scope selector and public-file listing. Sourced from the identity profile's roles array.