CwtExpirationTimeClaim

@Serializable
value class CwtExpirationTimeClaim(val value: NumericDate)(source)

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

3.1.4. exp (Expiration Time) Claim

The "exp" (expiration time) claim has the same meaning and processing
rules as the "exp" claim defined in Section 4.1.4 of [RFC7519],
except that the value is a NumericDate, as defined in Section 2 of
this specification.  The Claim Key 4 is used to identify this claim.

Constructors

Link copied to clipboard
constructor(value: NumericDate)

Types

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

Properties

Link copied to clipboard
val instant: Instant
Link copied to clipboard

Functions

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