Skip to content

Commit 18d086d

Browse files
committed
update dependencies
1 parent 91847f3 commit 18d086d

File tree

3 files changed

+2484
-2835
lines changed

3 files changed

+2484
-2835
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
**hapi-auth-keycloak** is a plugin for [hapi.js][hapijs] which enables to protect your endpoints in a smart but professional manner using [Keycloak][keycloak] as authentication service. It is inspired by the related [express.js middleware][keycloak-node]. The plugin validates the passed [`Bearer` token][bearer] offline with a provided public key or online with help of the [Keycloak][keycloak] server. Optionally, the successfully validated tokens and the related user data get cached using [`catbox`][catbox]. The caching enables a fast processing even though the user data don't get changed until the token expires. Furthermore it is possible to enable an api key interceptor proxying the request to an api key service which returns the temporary bearer token. It plays well with the [hapi.js][hapijs]-integrated [authentication/authorization feature][hapi-route-options]. Besides the authentication strategy it is possible to validate tokens by yourself, e.g. to authenticate incoming websocket or queue messages.
1919

2020
The modules [`standard`][standardjs] and [`ava`][avajs] are used to grant a high quality implementation.<br/>
21-
This major release supports just [hapi.js](https://github.com/hapijs/hapi) `>=v17.0.0` and node `>=v8.0.0` — to support older versions please use `v2.1.0`.
21+
22+
#### Compatibility
23+
| Major Release | [hapi.js](https://github.com/hapijs/hapi) version | node version |
24+
| --- | --- | --- |
25+
| `v4` | `>=18` | `>=10` |
26+
| `v3` | `>=17` | `>=8` |
27+
| `v2` | `>=12` | `>=6` |
2228

2329
## Installation
2430
For installation use the [Node Package Manager][npm]:

0 commit comments

Comments
 (0)