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

x/jose/jwt/unsecured.ts>UnsecuredJWT.decode

"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 UnsecuredJWT.decode
import { UnsecuredJWT } from "https://deno.land/x/jose@v5.2.0/jwt/unsecured.ts";

Decodes an unsecured JWT.

Type Parameters

optional
PayloadType = JWTPayload

Parameters

jwt: string

Unsecured JWT to decode the payload of.

JWT Claims Set validation options.