diff --git a/src/types.d.ts b/src/types.d.ts index 6172b0a1..9c736378 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -71,6 +71,8 @@ export interface JWK { * 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. + * * @param protectedHeader JWE or JWS Protected Header. * @param token The consumed JWE or JWS token. */