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

x/jose/jwt/unsecured.ts>UnsecuredJWT#encode

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

Encodes the Unsecured JWT.

Returns

string