Magek Framework
    Preparing search index...

    Interface UserEnvelope

    interface UserEnvelope {
        id?: string;
        username: string;
        roles: string[];
        claims: Record<string, unknown>;
        header?: Record<string, unknown>;
    }
    Index

    Properties

    id?: string

    An optional identifier of the user

    username: string

    The unique username of the current user

    roles: string[]

    The list of role names assigned to this user

    claims: Record<string, unknown>

    An object containing the claims included in the body of the JWT token

    header?: Record<string, unknown>

    An object containing the headers of the JWT token for further verification