Metadata

data class Metadata(val id: String, val tags: Map<String, String>, val payloadData: JsonObject?)

Non-sensitive information about the Token to be used in storage.

Constructors

Link copied to clipboard
constructor(id: String, tags: Map<String, String>, idToken: Jwt?)
constructor(id: String, tags: Map<String, String>, payloadData: JsonObject?)

Properties

Link copied to clipboard

Convenience object for accessing claims of this Token

Link copied to clipboard
val id: String

Storage id of the Token.

Link copied to clipboard
val payloadData: JsonObject?

The object holding claim values. Use claimsProvider for a more convenient way of accessing claims.

Link copied to clipboard

A user-specified map of values when storing the Token.