Merge pull request #2 from abstractj/KEYCLOAK-4443

[KEYCLOAK-4443] Lack of require() call in nodejs-adapter documentation
This commit is contained in:
Stian Thorgersen 2017-02-21 07:07:31 +01:00 committed by GitHub
commit cf85fc18e8

View file

@ -49,6 +49,7 @@ The `Keycloak` class provides a central point for configuration
and integration with your application. The simplest creation and integration with your application. The simplest creation
involves no arguments. involves no arguments.
var Keycloak = require('keycloak-connect');
var keycloak = new Keycloak(); var keycloak = new Keycloak();
By default, this will locate a file named `keycloak.json` alongside By default, this will locate a file named `keycloak.json` alongside