Member Junction
    Preparing search index...

    Decoded claims of an MJ-issued magic-link session JWT.

    Mirrors the claim set minted server-side (MagicLinkJWTClaims in MJServer's magic-link module). Declared independently here — NOT re-exported from the server package — so the client has a typed view without a cross-package dependency. All fields optional because the token is decoded without verification (the server validates via JWKS); never trust these for security decisions, only for UI display + app confinement.

    interface MagicLinkSessionClaims {
        aud?: string;
        email?: string;
        exp?: number;
        family_name?: string;
        given_name?: string;
        iat?: number;
        iss?: string;
        mj_app_id?: string;
        mj_magic_link?: boolean;
        mj_role?: string;
        name?: string;
        sub?: string;
    }
    Index

    Properties

    aud?: string
    email?: string
    exp?: number
    family_name?: string
    given_name?: string
    iat?: number
    iss?: string
    mj_app_id?: string

    The single Application this session is scoped to.

    mj_magic_link?: boolean

    Marks the session as magic-link so the host UI can confine it.

    mj_role?: string

    The restricted role name assigned to this user (informational).

    name?: string
    sub?: string