loadCredentialWithOfferReturningResult
suspend fun loadCredentialWithOfferReturningResult(credentialOffer: CredentialOffer, credentialIdentifierInfo: CredentialIdentifierInfo, transactionCode: String? = null, authorizationServerMetadata: OAuth2AuthorizationServerMetadata? = null): KmmResult<CredentialIssuanceResult>(source)
Loads a user-selected credential with pre-authorized code from the OID4VCI credential issuer
Parameters
credentialOffer
as loaded and decoded from the QR Code
credentialIdentifierInfo
as selected by the user from the issuer's metadata
transactionCode
if required from Issuing service, i.e. transmitted out-of-band to the user
authorizationServerMetadata
oauthMetadata optionally transmitted via the DC API. Set to null for other flows as it will be fetched from the authorizationServer/credentialIssuer.