EventPresentmentDigitalCredentialsOpenID4VP

data class EventPresentmentDigitalCredentialsOpenID4VP(val identifier: String = "", val timestamp: Instant = Instant.DISTANT_PAST, val appData: Map<String, DataItem> = emptyMap(), val presentmentData: EventPresentmentData, val appId: String?, val origin: String, val protocol: String, val requestJson: String, val responseJson: String, val vpToken: String) : EventPresentment

An event representing an OpenID4VP presentment requested via Digital Credentials API.

Constructors

constructor(identifier: String = "", timestamp: Instant = Instant.DISTANT_PAST, appData: Map<String, DataItem> = emptyMap(), presentmentData: EventPresentmentData, appId: String?, origin: String, protocol: String, requestJson: String, responseJson: String, vpToken: String)

Properties

Link copied to clipboard
open override val appData: Map<String, DataItem>

Additional application-specific data.

Link copied to clipboard

the identifier of the application making the request, if known.

Link copied to clipboard
open override val identifier: String

A unique identifier for the event.

Link copied to clipboard

the origin of the website making the request.

Link copied to clipboard

Data about the presentment.

Link copied to clipboard

the W3C Digital Credentials API protocol identifier.

Link copied to clipboard

the W3C Digital Credentials API request.

Link copied to clipboard

the W3C Digital Credentials API response.

Link copied to clipboard
open override val timestamp: Instant

The timestamp when the event was recorded.

Link copied to clipboard

the resulting vpToken.