startProvisioningWithAuthRequest
suspend fun startProvisioningWithAuthRequest( credentialIssuerUrl: String, credentialIdentifierInfo: CredentialIdentifierInfo): KmmResult<Unit>(source)
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.
Parameters
credentialIssuerUrl
URL of the credential issuer service
credentialIdentifierInfo
credential to request, i.e. picked by user selection
suspend fun startProvisioningWithAuthRequest( credentialIssuer: String, credentialIdentifierInfo: CredentialIdentifierInfo, requestedAttributes: Set<NormalizedJsonPath>?): KmmResult<Unit>(source)
Deprecated
Removed in OID4VCI draft 15
Replace with
startProvisioningWithAuthRequest(credentialIssuer, credentialIdentifierInfo)
Content copied to clipboard