Skip to main content
Module

x/jose/index.ts>errors.JWTClaimValidationFailed

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
class errors.JWTClaimValidationFailed
extends JOSEError
import { errors } from "https://deno.land/x/jose@v4.8.3/index.ts";
const { JWTClaimValidationFailed } = errors;

An error subclass thrown when a JWT Claim Set member validation fails.

Constructors

new
JWTClaimValidationFailed(
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_CLAIM_VALIDATION_FAILED"