EventVerificationDigitalCredentials

data class EventVerificationDigitalCredentials(val identifier: String = "", val timestamp: Instant = Instant.DISTANT_PAST, val appData: Map<String, DataItem> = emptyMap(), val presentmentRecord: PresentmentRecord, val requestJson: String, val responseJson: String, val durationRequestSentToResponseReceived: Duration? = null, val origin: String? = null, val appId: String? = null) : EventVerification

An event representing credential verification requested via the W3C Digital Credentials API.

Constructors

Link copied to clipboard
constructor(identifier: String = "", timestamp: Instant = Instant.DISTANT_PAST, appData: Map<String, DataItem> = emptyMap(), presentmentRecord: PresentmentRecord, requestJson: String, responseJson: String, durationRequestSentToResponseReceived: Duration? = null, origin: String? = null, appId: String? = null)

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

duration from sending the request until receiving the response, 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, if known.

Link copied to clipboard

a PresentmentRecord with the result of the presentation.

Link copied to clipboard

the W3C Digital Credentials API request JSON string.

Link copied to clipboard

the W3C Digital Credentials API response JSON string.

Link copied to clipboard
open override val timestamp: Instant

the timestamp when the event was recorded.