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

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

"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
method ProduceJWT.prototype.setIssuedAt
import { ProduceJWT } from "https://deno.land/x/jose@v4.13.0/jwt/produce.ts";

Set "iat" (Issued At) Claim.

Parameters

optional
input: number

"iat" (Issued At) Claim value to set on the JWT Claims Set. Default is current timestamp.