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 at.asitplus.wallet.lib.ktor.openid.OpenId4VciClient.resumeWithAuthCode.
Link copied to clipboard
data class Success(val credentials: Collection<Holder.StoreCredentialInput>, val refreshToken: RefreshTokenInfo? = null) : CredentialIssuanceResult
Store credentials in credentials, and optionally the refreshToken for a later renewal of those credentials.