Challenge

@JsonSerializable
data class Challenge(val id: ChallengeId, val realm: Realm, val method: PaymentMethod, val intent: PaymentIntent, val request: ChargeRequest? = null, val expires: Instant? = null, val description: String? = null, val opaque: String? = null)(source)

Constructors

Link copied to clipboard
constructor(id: ChallengeId, realm: Realm, method: PaymentMethod, intent: PaymentIntent, request: ChargeRequest? = null, expires: Instant? = null, description: String? = null, opaque: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

True when this credential's challenge demands the same payment (realm/method/intent/request) as the server-issued expected challenge. Deliberately ignores per-issuance fields (id/expires/opaque/description), which the verifier binds instead.