Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/jose/index.ts>errors.JWTExpired

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
class errors.JWTExpired
import { errors } from "https://deno.land/x/jose@v5.6.2/index.ts";
const { JWTExpired } = errors;

An error subclass thrown when a JWT is expired.

Properties

claim: string

The Claim for which the validation failed.

code: string
payload: JWTPayload

The parsed JWT Claims Set (aka payload). Other JWT claims may or may not have been verified at this point. The JSON Web Signature (JWS) or a JSON Web Encryption (JWE) structures' integrity has however been verified. Claims Set verification happens after the JWS Signature or JWE Decryption processes.

reason: string

Reason code for the validation failure.