@grow-codes/oidc - v0.1.2
    Preparing search index...

    Interface AuthUser

    The authenticated user of a verified access token.

    interface AuthUser {
        claims: Record<string, unknown>;
        email?: string;
        name?: string;
        roles: string[];
        sub: string;
    }
    Index
    claims: Record<string, unknown>

    Every claim of the token.

    email?: string

    email claim when present.

    name?: string

    name claim, else preferred_username, when present.

    roles: string[]

    Role names from the roles claim (strings, or Casdoor-style {name} objects).

    sub: string

    sub claim.