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 userInfo: JsonObject? = 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,     userInfo: JsonObject? = null,     scope: String? = null,     authorizationDetails: Set<AuthorizationDetails>? = null)

Properties

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

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

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

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? = null
Link copied to clipboard
@SerialName(value = "iss")
val issuer: String? = null
Link copied to clipboard
@SerialName(value = "jti")
val jwtId: String? = null
Link copied to clipboard
@SerialName(value = "nbf")
@Serializable(with = InstantLongSerializer::class)
val notBefore: Instant? = null
Link copied to clipboard
@SerialName(value = "scope")
val scope: String? = null

Scope that has been validated to use for credential issuance.

Link copied to clipboard
@SerialName(value = "userInfo")
val userInfo: JsonObject? = null

All user information, can be parsed into at.asitplus.openid.OidcUserInfoExtended when needed.