Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/jose/index.ts>UnsecuredJWT

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
class UnsecuredJWT
extends ProduceJWT
import { UnsecuredJWT } from "https://deno.land/x/jose@v5.6.3/index.ts";

The UnsecuredJWT class is a utility for dealing with { "alg": "none" } Unsecured JWTs.

Methods

encode(): string

Encodes the Unsecured JWT.

Static Methods

decode<PayloadType = JWTPayload>(jwt: string, options?: JWTClaimVerificationOptions): UnsecuredResult<PayloadType>

Decodes an unsecured JWT.