import { tools } from "https://deno.land/x/fido2@3.3.5/lib/main.js";
const { decodeProtectedHeader } = tools;
Decodes the Protected Header of a JWE/JWS/JWT token utilizing any JOSE serialization.
Examples
Usage
Usage
const protectedHeader = jose.decodeProtectedHeader(token)
console.log(protectedHeader)