new ClientAuthenticationManager(oidcConfig)
Constructor for authentication manager
Parameters:
| Name | Type | Description |
|---|---|---|
oidcConfig |
The oidc section of configuration object as parsed by the 'config' module from the configuration jsons |
Fires:
Methods
-
executeSilentSignin()
-
Attempts to login the user using a silent sign-in. This method should only be called if another login is not already in process.
Returns:
A Promise that resolves when signin has completed. https://raw.githubusercontent.com/IdentityModel/oidc-client-js/dev/lib/oidc-client.js
- Type
- Promise
-
logout()
-
Logout the user from Node.JS, the browser and the single sign-on account server
The argument is used in the oidc-client->signoutRedirect
-
setupUserManager(oidcConfig)
-
Initializes the UserManager from the oidc-client module.
Parameters:
Name Type Description oidcConfigThe oidc section of configuration object as parsed by the 'config' module from the configuration jsons
Returns:
A Promise that resolves when setup has completed.
- Type
- Promise