launchOpenID4VCIProvisioning

fun launchOpenID4VCIProvisioning(offerUri: String, clientPreferences: OpenID4VCIClientPreferences, backend: OpenID4VCIBackend, appData: ByteString? = null): Deferred<Document>

Launch provisioning session to provision credentials to a new Document using OpenID4VCI protocol.

Return

deferred Document value

Parameters

offerUri

credential offer (formatted as URI with custom protocol name)

clientPreferences

configuration parameters for OpenID4VCI client

backend

interface to the wallet back-end service

appData

optional application-specific data to store with the document


fun launchOpenID4VCIProvisioning(issuerUrl: String, credentialId: String, clientPreferences: OpenID4VCIClientPreferences, backend: OpenID4VCIBackend, appData: ByteString? = null): Deferred<Document>

Launch provisioning session to provision credentials to a new Document using OpenID4VCI protocol.

Return

deferred Document value

Parameters

issuerUrl

issuer server URL

credentialId

credential configuration id

clientPreferences

configuration parameters for OpenID4VCI client

backend

interface to the wallet back-end service

appData

optional application-specific data to store with the document