CredentialIssuanceResult
Result of the credential issuance process: Either open an authentication request URL externally (i.e. the browser), or store the received credentials.
Inheritors
Types
Link copied to clipboard
data class OpenUrlForAuthnRequest(val url: String, val context: ProvisioningContext) : CredentialIssuanceResult
Open the url in a browser (so the user can authenticate at the AS), and store context to use in next call to OpenId4VciKtorClient.resumeWithAuthCode.
Link copied to clipboard
data class Success(val issued: NonEmptyList<IssuedCredentials>, val reissuingStoreEntryId: Long? = null) : CredentialIssuanceResult
Store the credentials issued for each requested credential configuration after validating them with prepareCredentialStorage, and optionally their IssuedCredentials.refreshToken for a later renewal.