node-jwt
    Preparing search index...

    Type Alias VerifyOptions

    type VerifyOptions = {
        algorithms?: SupportedAlgorithm[];
        audience?: string | string[];
        clockSkew?: number;
        ignoreExpiration?: boolean;
        issuer?: string;
        jwtId?: string;
        maxTokenAge?: number;
        requiredClaims?: string[];
        signatureFormat?: "der" | "jose";
        subject?: string;
        tokenTypes?: string[];
    }
    Index
    algorithms?: SupportedAlgorithm[]

    Allowlist of accepted algorithms. Recommended (RFC 8725 section 3.1).

    audience?: string | string[]
    clockSkew?: number

    Tolerance in seconds for exp, nbf and iat. Default 0.

    ignoreExpiration?: boolean
    issuer?: string
    jwtId?: string
    maxTokenAge?: number

    Maximum age in seconds; requires an iat claim.

    requiredClaims?: string[]

    Claims that must be present in the payload, e.g. ['exp', 'iat'].

    signatureFormat?: "der" | "jose"

    ECDSA signature encoding. Defaults to 'jose' (RFC 7518 section 3.4). Set 'der' only to accept legacy, non-standard tokens.

    subject?: string
    tokenTypes?: string[]

    Allowed protected-header typ values. Defaults to ['JWT']. Compared case-insensitively with an optional application/ prefix (RFC 7515 section 4.1.9). A missing typ remains valid.