OpenId4VciClient
Implements the client side of OpenID for Verifiable Credential Issuance 1.0 from 2025-09-16. Supported features:
Pre-authorized grants
Authentication code flows
Constructors
Functions
Loads credential metadata info from host, call parseCredentialMetadata to parse it, returns a list of CredentialIdentifierInfo.
Loads a user-selected credential with pre-authorized code from the OID4VCI credential issuer
Parses IssuerMetadata and returns a list of CredentialIdentifierInfo.
Call to refresh a credential with a stored refresh token (that was received when issuing the credential for the first time, as returned in CredentialIssuanceResult.Success.refreshToken).
Called after getting the redirect back from the authorization server to the credential issuer.
Starts the issuing process at credentialIssuerUrl. Clients need to handle the result, i.e. open the URL for user authentication or store the credentials. Clients need to call resumeWithAuthCode after getting the authorization code back from the authorization server, e.g. by the Wallet app getting opened (see redirectUrl at oid4vciService) after the browser being redirecting back from the authorization server.