expirationOrNull

Returns the exp (expiration time) claim value as an Instant, or null if the claim is absent.

See also