IssuedCredentials

data class IssuedCredentials(val credentialIdentifierInfo: CredentialIdentifierInfo, val receivedCredentials: List<ReceivedCredential>, val scheme: CredentialScheme, val refreshToken: CredentialRenewalInfo?)(source)

The credentials issued for one requested credential configuration, see CredentialIssuanceResult.Success.issued.

Constructors

Link copied to clipboard
constructor(credentialIdentifierInfo: CredentialIdentifierInfo, receivedCredentials: List<ReceivedCredential>, scheme: CredentialScheme, refreshToken: CredentialRenewalInfo?)

Properties

Link copied to clipboard

The requested credential configuration, as selected from the metadata of the credential issuer.

Link copied to clipboard

The credentials of the credential responses, not validated yet, see ReceivedCredential.prepareCredentialStorage.

Link copied to clipboard

To renew the receivedCredentials later, see OpenId4VciKtorClient.refreshCredentialReturningResult. The refresh token is the one of the whole flow, i.e. shared with the other configurations issued with it.

Link copied to clipboard

The type the receivedCredentials have been requested as.