Crypto Server
    Preparing search index...

    Interface AuthPayload

    Decoded JWT or synthetic auth payload attached to a request.

    interface AuthPayload {
        sub: string;
        scopes: (
            | "crypto:encrypt"
            | "crypto:decrypt"
            | "crypto:sign"
            | "crypto:verify"
            | "crypto:hash"
            | "crypto:kdf"
            | "crypto:keys"
            | "crypto:admin"
        )[];
        iat?: number;
        exp?: number;
    }
    Index
    sub: string

    Subject identifier (user or service name).

    scopes: (
        | "crypto:encrypt"
        | "crypto:decrypt"
        | "crypto:sign"
        | "crypto:verify"
        | "crypto:hash"
        | "crypto:kdf"
        | "crypto:keys"
        | "crypto:admin"
    )[]

    Granted authorization scopes.

    iat?: number

    JWT "issued at" timestamp (epoch seconds).

    exp?: number

    JWT expiration timestamp (epoch seconds).