nl_tokens: Instantiate a Keycloak .
pl_tokens: function Keycloak ( config , keycloakConfig ) { // If keycloakConfig is null, Config() will search for `keycloak.json`. this . config = new Config ( keycloakConfig ) ; this . grantManager = new GrantManager ( this . config ) ; this . stores = [ BearerStore ] ; if ( ! config ) { throw <mask> Error ( 'Adapter configuration must be provided.' ) ; } // Add the custom scope value this . config . scope = config . scope ; if ( config && config . store && config . cookies ) { throw new Error ( 'Either `store` or `cookies` may be set, but not both' ) ; } if ( config && config . store ) { this . stores . push ( new SessionStore ( config . store ) ) ; } else if ( config && config . cookies ) { this . stores . push ( CookieStore ) ; } this . config . idpHint = config . idpHint ; }