Skip to main content
Module

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

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.4.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.