Skip to main content
Module

x/jose/types.d.ts>GetKeyFunction

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
interface GetKeyFunction
import { type GetKeyFunction } from "https://deno.land/x/jose@v4.8.3/types.d.ts";

Generic Interface for consuming operations dynamic key resolution. No token components have been verified at the time of this function call.

If you cannot match a key suitable for the token, throw an error instead.

Call Signatures

(protectedHeader: T, token: T2): Promise<KeyLike | Uint8Array> | KeyLike | Uint8Array