OpenId4VciAccessToken

@Serializable
data class OpenId4VciAccessToken(val issuer: String? = null, val audience: String? = null, val notBefore: Instant? = null, val expiration: Instant? = null, val jwtId: String? = null, val confirmationClaim: ConfirmationClaim? = null, val scope: String? = null, val authorizationDetails: Set<AuthorizationDetails>? = null)(source)

Constructors

Link copied to clipboard
constructor(issuer: String? = null, audience: String? = null, notBefore: Instant? = null, expiration: Instant? = null, jwtId: String? = null, confirmationClaim: ConfirmationClaim? = null, scope: String? = null, authorizationDetails: Set<AuthorizationDetails>? = null)

Properties

Link copied to clipboard
@SerialName(value = "aud")
val audience: String?
Link copied to clipboard
@SerialName(value = "authorization_details")
val authorizationDetails: Set<AuthorizationDetails>?

Authorization details that have been validated to use for credential issuance.

Link copied to clipboard
@SerialName(value = "cnf")
val confirmationClaim: ConfirmationClaim?

OID4VP: This claim contains the confirmation method as defined in RFC7800. It MUST contain a JWK as defined in Section 3.2 of RFC7800. This claim determines the public key for which the corresponding private key the Verifier MUST proof possession of when presenting the Verifier Attestation JWT. This additional security measure allows the Verifier to obtain a Verifier Attestation JWT from a trusted issuer and use it for a long time independent of that issuer without the risk of an adversary impersonating the Verifier by replaying a captured attestation.

Link copied to clipboard
@SerialName(value = "exp")
@Serializable(with = InstantLongSerializer::class)
val expiration: Instant?
Link copied to clipboard
@SerialName(value = "iss")
val issuer: String?
Link copied to clipboard
@SerialName(value = "jti")
val jwtId: String?
Link copied to clipboard
@SerialName(value = "nbf")
@Serializable(with = InstantLongSerializer::class)
val notBefore: Instant?
Link copied to clipboard
@SerialName(value = "scope")
val scope: String?

Scope that has been validated to use for credential issuance.