JsonClaim

data class JsonClaim(val displayName: String, val attribute: DocumentAttribute?, val claimPath: JsonArray, val value: JsonElement) : Claim

A claim in a JSON-based credential.

Constructors

Link copied to clipboard
constructor(displayName: String, attribute: DocumentAttribute?, claimPath: JsonArray, value: JsonElement)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val attribute: DocumentAttribute?

a DocumentAttribute, if the claim is for a well-known attribute.

Link copied to clipboard
val claimPath: JsonArray

the claim name.

Link copied to clipboard
open override val displayName: String

a short human readable string describing the claim.

Link copied to clipboard
val value: JsonElement

the value of the claim

Functions

Link copied to clipboard
open override fun render(timeZone: TimeZone): String

Returns the value of a claim as a human readable string.