Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/util/errors.ts>JWTExpired

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
class JWTExpired
import { JWTExpired } from "https://deno.land/x/jose@v4.11.2/util/errors.ts";

An error subclass thrown when a JWT is expired.

Constructors

new
JWTExpired(
message: string,
claim?,
reason?,
)

Properties

claim: string

The Claim for which the validation failed.

code: string
reason: string

Reason code for the validation failure.

Static Properties

readonly
code: "ERR_JWT_EXPIRED"