PublicKeys

@JsonClass(generateAdapter = true)
data class PublicKeys(@Json(name = "key_validity_url") val keyValidityUrl: String? = null, @Json(name = "public_key") val publicKey: String)

Constructors

Link copied to clipboard
fun PublicKeys(@Json(name = "key_validity_url") keyValidityUrl: String? = null, @Json(name = "public_key") publicKey: String)

Properties

Link copied to clipboard
val keyValidityUrl: String? = null

An optional URL which can be fetched, with querystring public_key=public_key, to validate whether the key has been revoked. The URL must return a JSON object containing a boolean property named 'valid'. If this URL is absent, the key must be considered valid indefinitely.

Link copied to clipboard
val publicKey: String

Required. A base-64 encoded ed25519 key with which token may be signed.