IO Wallet SDK
    Preparing search index...

    Interface VerifyClientAttestationOptions

    interface VerifyClientAttestationOptions {
        authorizationServerMetadata: ItWalletAuthorizationServerMetadata;
        callbacks: Pick<CallbackContext, "hash" | "verifyJwt">;
        clientAttestation: ClientAttestationOptions;
        config: IoWalletSdkConfig;
        dpopJwkThumbprint?: string;
        now?: Date;
        requestClientId?: string;
    }
    Index

    Properties

    authorizationServerMetadata: ItWalletAuthorizationServerMetadata

    The authorization server metadata.

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

    Callbacks for hashing and JWT verification.

    clientAttestation: ClientAttestationOptions

    The client attestation options.

    config: IoWalletSdkConfig

    The IT-Wallet SDK configuration, used to select the correct version-specific validation schema for the wallet attestation JWT.

    dpopJwkThumbprint?: string

    The DPoP JWK thumbprint value, if DPoP is being used in the request.

    now?: Date

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

    new Date()
    
    requestClientId?: string

    The client id provided in the authorization request, if any.

    Pass this when the authorization request includes a client_id parameter. The function will verify that it matches the sub claim in the client attestation JWT. If not provided, no client_id validation is performed.