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

x/fido2/lib/toolbox.js>decodeProtectedHeader

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Latest
function decodeProtectedHeader
Re-export
import { decodeProtectedHeader } from "https://deno.land/x/fido2@3.5.3/lib/toolbox.js";

Decodes the Protected Header of a JWE/JWS/JWT token utilizing any JOSE serialization.

Parameters

token: string | object

JWE/JWS/JWT token in any JOSE serialization.