Set to enable/disable monitoring login state.
Set the interval to check login state (in seconds).
Enables logging messages from Keycloak to the console.
Set the OpenID Connect flow.
Set an initial value for the id token (only together with token
or
refreshToken
).
Configures how long will Keycloak adapter wait for receiving messages from server in ms. This is used, for example, when waiting for response of 3rd party cookies check.
Specifies an action to do on load.
Configures the Proof Key for Code Exchange (PKCE) method to use. The currently allowed method is 'S256'. If not configured, PKCE will not be used.
Specifies a default uri to redirect to after login or logout. This is currently supported for adapter 'cordova-native' and 'default'
Set an initial value for the refresh token.
Set the OpenID Connect response mode to send to Keycloak upon login.
Specifies whether the silent check-sso should fallback to "non-silent" check-sso when 3rd party cookies are blocked by the browser. Defaults to true.
Specifies an uri to redirect to after silent check-sso. Silent check-sso will only happen, when this redirect uri is given and the specified uri is available whithin the application.
Set an initial value for skew between local time and Keycloak server in
seconds (only together with token
or refreshToken
).
Set an initial value for the token.
Adds a cryptographic nonce to verify that the authentication response matches the request.
Generated using TypeDoc
Allow usage of different types of adapters or a custom adapter to make Keycloak work in different environments.
The following options are supported:
default
- Use default APIs that are available in browsers.cordova
- Use a WebView in Cordova.cordova-native
- Use Cordova native APIs, this is recommended overcordova
.It's also possible to pass in a custom adapter for the environment you are running Keycloak in. In order to do so extend the
KeycloakAdapter
interface and implement the methods that are defined there.For example: