import { type GetKeyFunction } from "https://deno.land/x/jose@v5.2.1/types.d.ts";
Generic Interface for consuming operations dynamic key resolution.
Call Signatures
(protectedHeader: IProtectedHeader, token: IToken): Promise<KeyLike | Uint8Array> | KeyLike | Uint8Array
Dynamic key resolution function. 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.