OpenId4VciClient
Implements the client side of OpenID for Verifiable Credential Issuance
, Draft 15, 2024-12-19.
Supported features:
Pre-authorized grants
Authentication code flows
Constructors
Properties
Functions
Loads credential metadata info from host, parses it, returns list of CredentialIdentifierInfo.
Loads a user-selected credential with pre-authorized code from the OID4VCI credential issuer
Call to refresh a credential with a stored refresh token (that was received when issuing the credential for the first time, stored with storeRefreshToken).
Called after getting the redirect back from the authorization server to the credential issuer.
Starts the issuing process at credentialIssuerUrl. This will call openUrlExternally to perform authentication at the authorization server, typically in an external browser to show appropriate user interface. 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.