JoseErrorDetails
JoseErrorDetails
Structured context for a failure. Holds names and short identifiers only, never token segments, claim values or key material.
ts
interface JoseErrorDetails {
readonly alg?: string;
readonly kid?: string;
readonly claim?: string;
readonly crit?: readonly string[];
readonly status?: number;
}Properties
readonlyalg?:string— Thealgheader value the token carried.readonlykid?:string— Thekidheader value the token carried, truncated to 64 characters.readonlyclaim?:string— The claim name a claims failure concerns.readonlycrit?:readonlystring``[]— The critical header names that were refused.readonlystatus?:number— The HTTP status a JWKS endpoint answered with.