openwallet-foundation/credo-ts

Allow to access response object from the OpenID4VC issuer/verifier in the client

Opened this issue · 1 comments

E.g. access custom headers, response properties, etc..

E.g when calling the following method:

  await holder.agent.modules.openId4VcHolder.acceptCredentialOfferUsingPreAuthorizedCode(
    resolvedCredentialOffer,
    {
      credentialsToRequest: credentialsIdsToRequest,
      credentialBindingResolver: async () => ({
        method: 'did',
        didUrl: holder.verificationMethod.id
      })
    }
  )