CredentialOffer

@Serializable
data class CredentialOffer(val credentialIssuer: String, val configurationIds: Collection<String>, val grants: CredentialOfferGrants? = null)(source)

Constructors

Link copied to clipboard
constructor(credentialIssuer: String, configurationIds: Collection<String>, grants: CredentialOfferGrants? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "credential_configuration_ids")
val configurationIds: Collection<String>

OID4VCI: REQUIRED. Array of unique strings that each identify one of the keys in the name/value pairs stored in IssuerMetadata.supportedCredentialConfigurations. The Wallet uses these string values to obtain the respective object that contains information about the Credential being offered as defined in Section 11.2.3. For example, these string values can be used to obtain scope values to be used in the Authorization Request, see AuthenticationRequestParameters.scope.

Link copied to clipboard
@SerialName(value = "credential_issuer")
val credentialIssuer: String

OID4VCI: REQUIRED. The URL of the Credential Issuer, as defined in Section 11.2.1, from which the Wallet is requested to obtain one or more Credentials. The Wallet uses it to obtain the Credential Issuer's Metadata following the steps defined in Section 11.2.2.

Link copied to clipboard
@SerialName(value = "grants")
val grants: CredentialOfferGrants? = null

OID4VCI: OPTIONAL. If grants is not present or is empty, the Wallet MUST determine the Grant Types the Credential Issuer's Authorization Server supports using the respective metadata. When multiple grants are present, it is at the Wallet's discretion which one to use.

Functions

Link copied to clipboard