import { decodeProtectedHeader } from "https://deno.land/x/jose@v4.11.2/util/decode_protected_header.ts";
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)