JWTJsonPayload

data class JWTJsonPayload constructor(val iss: String? = null, val sub: String? = null, val nbf: Long? = null, val exp: Long? = null, val vc: JsonElement)(source)

Represents a JSON Web Token (JWT) payload as a Kotlin data class.

Constructors

Link copied to clipboard
constructor(iss: String? = null, sub: String? = null, nbf: Long? = null, exp: Long? = null, vc: JsonElement)

Properties

Link copied to clipboard
val exp: Long? = null

The expiration time of the token. It specifies the time after which the token should not be considered valid.

Link copied to clipboard
val iss: String? = null

The issuer of the token. It identifies the entity that issued the token.

Link copied to clipboard
val nbf: Long? = null

The "not before" time of the token. It specifies the time before which the token should not be considered valid.

Link copied to clipboard
val sub: String? = null

The subject of the token. It represents the entity that the token pertains to.

Link copied to clipboard

The JSON payload contained within the token.