Cell API
    Preparing search index...

    Interface VerifyOptions

    interface VerifyOptions {
        algorithms?: Algorithm[];
        audience?: string | RegExp | (string | RegExp)[];
        clockTimestamp?: number;
        clockTolerance?: number;
        complete?: boolean;
        ignoreExpiration?: boolean;
        ignoreNotBefore?: boolean;
        issuer?: string | string[];
        jwtid?: string;
        maxAge?: string | number;
        nonce?: string;
        subject?: string;
    }

    Hierarchy

    • VerifyOptions
      • VerifyOptions
    Index
    algorithms?: Algorithm[]
    audience?: string | RegExp | (string | RegExp)[]
    clockTimestamp?: number
    clockTolerance?: number
    complete?: boolean

    return an object with the decoded { payload, header, signature } instead of only the usual content of the payload.

    ignoreExpiration?: boolean
    ignoreNotBefore?: boolean
    issuer?: string | string[]
    jwtid?: string
    maxAge?: string | number
    nonce?: string

    If you want to check nonce claim, provide a string value here. It is used on Open ID for the ID Tokens. (Open ID implementation notes)

    subject?: string