WalletService
Client service to retrieve credentials using OID4VCI
Implemented from OpenID for Verifiable Credential Issuance 1.0 from 2025-09-16.
Constructors
Types
Properties
Functions
Build authorization details for use in OAuth2Client.createAuthRequest.
Creates the credential request to be sent to the credential issuer. Also send along the TokenResponseParameters.accessToken from the token response in HTTP header Authorization see TokenResponseParameters.toHttpHeaderValue. Be sure to include a DPoP header if TokenResponseParameters.tokenType is DPoP, see BuildDPoPHeader. For sample ktor code see OpenId4VciClient in vck-openid-ktor.
Pass in the URL provided by the Credential Issuer, which may contain a direct CredentialOffer or a URI pointing to it.
Parses response received from the credential issuer, mapping to Holder.StoreCredentialInput, decrypting the response if required.
Extract SupportedCredentialFormat from metadata by filtering according to requestOptions.