MobileCredentialElement

@Serializable(with = MobileCredentialElement.Serializer::class)
sealed class MobileCredentialElement

Specifies the possible data types for elements or claims in a mobile credential.

Inheritors

Types

Link copied to clipboard
data class ArrayElement(val value: JsonElement) : MobileCredentialElement
Link copied to clipboard
data class BooleanElement(val value: Boolean) : MobileCredentialElement
Link copied to clipboard
data class DataElement(val value: String) : MobileCredentialElement
Link copied to clipboard
data class DateElement(val value: LocalDate) : MobileCredentialElement
Link copied to clipboard
data class DateTimeElement(val value: Instant) : MobileCredentialElement
Link copied to clipboard
data class DoubleElement(val value: Double) : MobileCredentialElement
Link copied to clipboard
data class IntElement(val value: Int) : MobileCredentialElement
Link copied to clipboard
data class LongElement(val value: Long) : MobileCredentialElement
Link copied to clipboard
data class MapElement(val value: Map<String, JsonElement>) : MobileCredentialElement
Link copied to clipboard
data class StringElement(val value: String) : MobileCredentialElement

Properties

Link copied to clipboard
val type: String
Link copied to clipboard
abstract val value: Any