AuthorizationDetails

@Serializable
data class AuthorizationDetails(val type: String, val format: CredentialFormatEnum, val docType: String? = null, val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, val types: Array<String>, val locations: Array<String>? = null)

To be contained in an array sent in parameter authorization_details from the Wallet to the Issuer

Constructors

Link copied to clipboard
constructor(type: String, format: CredentialFormatEnum, docType: String? = null, claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, types: Array<String>, locations: Array<String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null

OIDVCI: Optional for ISO mDL: A JSON object containing a list of key value pairs, where the key is a certain namespace as defined in ISO.18013-5 (or any profile of it), and the value is a JSON object. This object also contains a list of key value pairs, where the key is a claim that is defined in the respective namespace and is offered in the Credential.

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

OIDVCI: Required for ISO mDL: JSON string identifying the credential type.

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

Must contain the authorization_server entry from the Issuer's metadata

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

Must be openid_credential

Link copied to clipboard
@SerialName(value = "types")
val types: Array<String>

e.g. VerifiableCredential, UniversityDegreeCredential

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int