IO Wallet SDK
    Preparing search index...

    Interface VerifyTokenDPoPOptions

    interface VerifyTokenDPoPOptions {
        accessToken?: string;
        allowedSigningAlgs?: string[];
        callbacks: Pick<CallbackContext, "hash" | "verifyJwt">;
        dpopJwt: string;
        expectedJwkThumbprint?: string;
        expectedNonce?: string;
        now?: Date;
        request: RequestLike;
    }
    Index

    Properties

    accessToken?: string

    Access token to which the dpop jwt is bound. If provided the sha-256 hash of the access token needs to match the 'ath' claim.

    allowedSigningAlgs?: string[]

    Allowed dpop signing alg values. If not provided any alg values are allowed and it's up to the verifyJwtCallback to handle the alg.

    callbacks: Pick<CallbackContext, "hash" | "verifyJwt">

    Callbacks used for verifying dpop jwt

    dpopJwt: string

    The compact dpop jwt.

    expectedJwkThumbprint?: string

    The expected jwk thumprint 'jti' confirmation method. If provided the thumprint of the jwk used to sign the dpop jwt must match this provided thumbprint value. The 'jti' value can be extracted from the access token payload, or if opaque tokens are used can be retrieved using token introspection.

    expectedNonce?: string

    Expected nonce in the payload. If not provided the nonce won't be validated.

    now?: Date

    The current time to use when verifying the JWTs. If not provided current time will be used.

    new Date()
    
    request: RequestLike

    The request for which to verify the dpop jwt