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.
Parses input as either a JSON-encoded CredentialOffer or a credential offer URL.
Parses response received from the credential issuer, mapping to Holder.StoreCredentialInput, rejecting encrypted responses because they require the originating CredentialRequest.
Parses a response and binds its encryption to the exact request that caused it.
Extract SupportedCredentialFormat from metadata by filtering according to requestOptions.