CredentialOfferGrants

@Serializable
data class CredentialOfferGrants(val authorizationCode: CredentialOfferGrantsAuthCode? = null, val preAuthorizedCode: CredentialOfferGrantsPreAuthCode? = null)(source)

OID4VCI: Object indicating to the Wallet the Grant Types the Credential Issuer's Authorization Server is prepared to process for this Credential Offer. Every grant is represented by a name/value pair. The name is the Grant Type identifier; the value is an object that contains parameters either determining the way the Wallet MUST use the particular grant and/or parameters the Wallet MUST send with the respective request(s).

Constructors

Link copied to clipboard
constructor(authorizationCode: CredentialOfferGrantsAuthCode? = null, preAuthorizedCode: CredentialOfferGrantsPreAuthCode? = null)

Properties

Link copied to clipboard
@SerialName(value = "authorization_code")
val authorizationCode: CredentialOfferGrantsAuthCode? = null
Link copied to clipboard
@SerialName(value = "urn:ietf:params:oauth:grant-type:pre-authorized_code")
val preAuthorizedCode: CredentialOfferGrantsPreAuthCode? = null