JwtExpirationTimeClaim

@Serializable
value class JwtExpirationTimeClaim(val numericDate: NumericDate)(source)

4.1.4. "exp" (Expiration Time) Claim

The "exp" (expiration time) claim identifies the expiration time on
or after which the JWT MUST NOT be accepted for processing.  The
processing of the "exp" claim requires that the current date/time
MUST be before the expiration date/time listed in the "exp" claim.
Implementers MAY provide for some small leeway, usually no more than
a few minutes, to account for clock skew.  Its value MUST be a number
containing a NumericDate value.  Use of this claim is OPTIONAL.

Constructors

Link copied to clipboard
constructor(numericDate: NumericDate)

Types

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

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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