docs: update docs for GetKeyFunction

This commit is contained in:
Filip Skokan 2020-12-16 15:30:10 +01:00
parent fa29d68cfd
commit 60bcd51e75

2
src/types.d.ts vendored
View file

@ -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.
*/