OpenIdAuthorizationDetails

@Serializable
@SerialName(value = "openid_credential")
data class OpenIdAuthorizationDetails(val credentialConfigurationId: String? = null, val claimDescription: Set<ClaimDescription>? = null, val locations: Set<String>? = null, val credentialIdentifiers: Set<String>? = null) : AuthorizationDetails(source)

OID4VCI: The request parameter authorization_details defined in Section 2 of (RFC9396) MUST be used to convey the details about the Credentials the Wallet wants to obtain. This specification introduces a new authorization details type openid_credential and defines the following parameters to be used with this authorization details type.

Constructors

Link copied to clipboard
constructor(credentialConfigurationId: String? = null, claimDescription: Set<ClaimDescription>? = null, locations: Set<String>? = null, credentialIdentifiers: Set<String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claimDescription: Set<ClaimDescription>? = null

OID4VCI: ISO mDL: OPTIONAL. An array of claims description objects as defined in Appendix B.2. OID4VCI: IETF SD-JWT VC: OPTIONAL. An array of claims description objects as defined in Appendix B.2.

Link copied to clipboard
@SerialName(value = "credential_configuration_id")
val credentialConfigurationId: String? = null

OID4VCI: REQUIRED. String specifying a unique identifier of the Credential being described in IssuerMetadata.supportedCredentialConfigurations. The referenced object in IssuerMetadata.supportedCredentialConfigurations conveys the details, such as the format and format-specific parameters like vct for SD-JWT VC or doctype for ISO mdoc. Note: Set by the Wallet in the token request.

Link copied to clipboard
@SerialName(value = "credential_identifiers")
val credentialIdentifiers: Set<String>? = null

OID4VCI: REQUIRED. Array of strings, each uniquely identifying a Credential Dataset that can be issued using the Access Token returned in this response. Each of these Credential Datasets corresponds to the same Credential Configuration in the IssuerMetadata.supportedCredentialConfigurations. The Wallet MUST use these identifiers together with an Access Token in subsequent Credential Requests. Note: Set by the AS in the token response.

Link copied to clipboard
@SerialName(value = "locations")
val locations: Set<String>? = null

OID4VCI: If the Credential Issuer metadata contains an IssuerMetadata.authorizationServers parameter, the authorization detail's locations common data field MUST be set to the Credential Issuer Identifier value.