Member Junction
    Preparing search index...

    Type Alias UserPayload

    type UserPayload = {
        apiKey?: string;
        apiKeyHash?: string;
        apiKeyId?: string;
        email: string;
        emailVerified?: boolean;
        isSystemUser?: boolean;
        sessionId: string;
        userRecord: any;
    }
    Index

    Properties

    apiKey?: string
    apiKeyHash?: string

    SHA-256 hash of the MJ API key (used for scope authorization)

    apiKeyId?: string

    ID of the MJ API key used for authentication (when using mj_sk_* format keys)

    email: string
    emailVerified?: boolean

    The IdP's OIDC email_verified assertion from the verified JWT, when present. Three-state: true (IdP vouched for the email), false (IdP explicitly says the email is unverified — security-sensitive flows must not trust an email match), undefined (the IdP omits the claim, or auth was via API key / magic link). Consumed by identity-claim redemption; do not treat undefined as false.

    isSystemUser?: boolean
    sessionId: string
    userRecord: any