Skip to content

Commit 9c4fddf

Browse files
authoredMar 5, 2021
Update README.md
1 parent 914dd42 commit 9c4fddf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎README.md

-8
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ const signingKey = key.getPublicKey();
4949
- `requestAgent`: (_optional_) a Node `http.Agent` to be passed to the http(s) request
5050
- `getKeysInterceptor`: (_optional_) a promise returning function hook [(details)](#loading-keys-from-local-file-environment-variable-or-other-externals)
5151

52-
#### Return Values
53-
54-
- `data`: data for the given key resolved by `fetcher` (or undefined if not loaded)
55-
- `error`: error thrown by `fetcher` (or undefined)
56-
- `isValidating`: if there's a request or revalidation loading
57-
- `mutate(data?, shouldRevalidate?)`: function to mutate the cached data
58-
59-
6052
### Caching
6153

6254
By default, signing key verification results are cached in order to prevent excessive HTTP requests to the JWKS endpoint. If a signing key matching the `kid` is found, this will be cached and the next time this `kid` is requested the signing key will be served from the cache. The caching behavior can be configured as seen below:

0 commit comments

Comments
 (0)
Please sign in to comment.