Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance Property

expires

The “exp” (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. It’s important to note that a resource may reject the token before this time as well - if, for example, a change in authentication is required or a token revocation has been detected.
let expires: ExpirationClaim