JwtTimeToLiveClaim

@Serializable
value class JwtTimeToLiveClaim(val positiveDuration: PositiveDuration)(source)

source: https://www.rfc-editor.org/rfc/rfc7519

OPTIONAL. The ttl (time to live) claim, if present, MUST specify the maximum amount of time, in seconds, that the Status List Token can be cached by a consumer before a fresh copy SHOULD be retrieved. The value of the claim MUST be a positive number encoded in JSON as a number.

Constructors

Link copied to clipboard
constructor(positiveDuration: PositiveDuration)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data object Specification

Properties

Functions

Link copied to clipboard
fun isInvalid(resolvedAt: Instant, isInstantInThePast: (Instant) -> Boolean): Boolean