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

x/jose/index.ts>ProduceJWT#setJti

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
method ProduceJWT.prototype.setJti
import { ProduceJWT } from "https://deno.land/x/jose@v5.4.0/index.ts";

Set the "jti" (JWT ID) Claim.

Parameters

jwtId: string

"jti" (JWT ID) Claim value to set on the JWT Claims Set.