AuthorizationDetails

@Serializable
sealed class AuthorizationDetails(source)

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
@SerialName(value = "credential")
data class CSCCredential(val credentialID: String? = null, val signatureQualifier: String? = null, val documentDigestsCSC: Collection<DocumentDigestCSCEntry>, val hashAlgorithmOID: ObjectIdentifier, val locations: Collection<String>? = null, val documentLocations: Collection<DocumentLocationEntry>) : AuthorizationDetails

CSC: The authorization details type credential allows applications to pass the details of a certain credential authorization in a single JSON object

Link copied to clipboard
@Serializable
@SerialName(value = "openid_credential")
data class OpenIdCredential(val credentialConfigurationId: String? = null, val format: CredentialFormatEnum? = null, val docType: String? = null, val claims: Map<String, Map<String, RequestedCredentialClaimSpecification>>? = null, val credentialDefinition: SupportedCredentialFormatDefinition? = null, val sdJwtVcType: String? = null, val locations: Set<String>? = null, val credentialIdentifiers: Set<String>? = null) : AuthorizationDetails

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.