Skip to content

Commit 817a6ff

Browse files
committed
fix docs
1 parent 1f41741 commit 817a6ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Optional. Default: `0`.
135135
- `userInfo {Array.<?string>}` — List of properties which should be included in the `request.auth.credentials` object besides `scope` and `sub`.<br/>
136136
Optional. Default: `[]`.<br/>
137137

138-
- `cache {Object|boolean}` — The configuration of the [hapi.js cache](https://hapijs.com/api#servercacheoptions) powered by [catbox][catbox]. If the property `exp` (= 'expires at') is undefined, the plugin uses 60 seconds as default TTL. Otherwise the cache entry expires as soon as the token itself expires.<br/>
138+
- `cache {Object|boolean}` — The configuration of the [hapi.js cache][hapi-server-cache] powered by [catbox][catbox]. If the property `exp` ('expires at') is undefined, the plugin uses 60 seconds as default TTL. Otherwise the cache entry expires as soon as the token itself expires.<br/>
139139
Please mind that an enabled cache leads to disabled live validation after the related token is cached once.<br/>
140140
If `false` the cache is disabled. Use `true` or an empty object (`{}`) to use the built-in default cache. Otherwise just drop in your own cache configuration.<br/>
141141
Optional. Default: `false`.
@@ -253,6 +253,7 @@ For further information read the [contributing guideline](CONTRIBUTING.md).
253253
[jwt]: https://jwt.io/
254254
[catbox]: https://github.com/hapijs/catbox
255255
[bearer]: https://tools.ietf.org/html/rfc6750
256+
[hapi-server-cache]: https://hapijs.com/api#-servercacheoptions
256257
[hapi-route-options]: https://hapijs.com/api#route-options
257258
[jwk]: https://tools.ietf.org/html/rfc7517
258259
[pem]: https://tools.ietf.org/html/rfc1421

0 commit comments

Comments
 (0)