IO Wallet SDK
    Preparing search index...

    Interface FetchTokenResponseOptions

    interface FetchTokenResponseOptions {
        accessTokenEndpoint: string;
        accessTokenRequest:
            | {
                code: string;
                code_verifier: string;
                grant_type: "authorization_code";
                redirect_uri: string;
            }
            | { grant_type: "refresh_token"; refresh_token: string; scope?: string };
        callbacks: Pick<CallbackContext, "fetch">;
        clientAttestationDPoP: string;
        dPoP: string;
        walletAttestation: string;
    }
    Index

    Properties

    accessTokenEndpoint: string

    The endpoint URL where the access token request will be sent This should be the authorization server's token endpoint

    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 payload

    callbacks: Pick<CallbackContext, "fetch">

    Callbacks to use for requesting access token

    clientAttestationDPoP: string

    The client attestation Demonstration of Proof-of-Possession (DPoP) token Used for OAuth-Client-Attestation-PoP header to prove possession of the client key

    dPoP: string

    DPoP proof for the token request

    walletAttestation: string

    The wallet attestation JWT that proves the client's identity and capabilities Used for OAuth-Client-Attestation header