class UnsecuredJWT
extends ProduceJWT
import { UnsecuredJWT } from "https://deno.land/x/jose@v5.9.6/jwt/unsecured.ts";
The UnsecuredJWT class is a utility for dealing with { "alg": "none" }
Unsecured JWTs.
This class is exported (as a named export) from the main 'jose'
module entry point as well as
from its subpath export 'jose/jwt/unsecured'
.
Static Methods
decode<PayloadType = JWTPayload>(jwt: string, options?: JWTClaimVerificationOptions): UnsecuredResult<PayloadType>
Decodes an unsecured JWT.