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

x/hex/src/service/deps.ts>djwt.validate

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function djwt.validate
import { djwt } from "https://deno.land/x/hex@0.5.15/src/service/deps.ts";
const { validate } = djwt;

It does not verify the digital signature.

Parameters

unnamed 0: [any, any, Uint8Array]
optional
unnamed 1: VerifyOptions = [UNSUPPORTED]

Returns

{ header: Header; payload: Payload; signature: Uint8Array; }