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

x/jose/jwt/produce.ts>ProduceJWT#setJti

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

Set the "jti" (JWT ID) Claim.

Parameters

jwtId: string

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