IO Wallet SDK
    Preparing search index...

    Interface VerifyAccessTokenRequestOptions

    interface VerifyAccessTokenRequestOptions {
        accessTokenRequest:
            | {
                code: string;
                code_verifier: string;
                grant_type: "authorization_code";
                redirect_uri: string;
            }
            | { grant_type: "refresh_token"; refresh_token: string; scope?: string };
        authorizationServerMetadata: ItWalletAuthorizationServerMetadata;
        callbacks: Pick<CallbackContext, "hash" | "verifyJwt">;
        clientAttestation: ClientAttestationOptions;
        codeExpiresAt?: Date;
        config: IoWalletSdkConfig;
        dpop: VerifyAccessTokenRequestDpop;
        expectedCode: string;
        grant: ParsedAccessTokenAuthorizationCodeRequestGrant;
        now?: Date;
        pkce: VerifyAccessTokenRequestPkce;
        request: RequestLike;
    }
    Index

    Properties

    accessTokenRequest:
        | {
            code: string;
            code_verifier: string;
            grant_type: "authorization_code";
            redirect_uri: string;
        }
        | { grant_type: "refresh_token"; refresh_token: string; scope?: string }

    The access token request to verify

    authorizationServerMetadata: ItWalletAuthorizationServerMetadata

    The authorization server metadata

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

    Callbacks used during verification

    clientAttestation: ClientAttestationOptions

    Options for verifying the client attestation

    codeExpiresAt?: Date

    The expiration date of the authorization code

    config: IoWalletSdkConfig

    The dpop verification options

    expectedCode: string

    The expected authorization code

    The parsed authorization code grant

    now?: Date

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

    new Date()
    

    The pkce options including code verifier, challenge and method

    request: RequestLike

    The HTTP request information