ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > KeycloakAuthenticationHolderOptions

KeycloakAuthenticationHolderOptions interface

Signature:

export interface KeycloakAuthenticationHolderOptions 

Properties

PropertyTypeDescription
afterLoginPageNamestringThe path to the page to call to ask the user to log-in again (after a token has expired for example), relative to the path of the application. Defaults to afterlogin.html.
logoutEndPointUrlUrlThe endpoint URL to logout the current user.
tokenCacheMissSleepTimenumberTime in ms after which the application re-tries to retrieve a token from Keycloak if it failed the first time. This can happen due to clock offsets between the Keycloak server and the ActiveUI server. Defaults to 10000.
tokenEndPointUrlUrlThe endpoint URL to get a token.
whiteListedUrlPrefixesstring[]URL prefixes for which the Keycloak token should not be included in the Authorization header. Calls to access resources protected by a Keycloak filter should not include the Keycloak token, as it would trigger an unwanted authentication flow, and lead to tokens not refreshing correctly. Defaults to [window.location.origin, logoutEndPointUrl].
windowClosePollerIntervalnumberInterval in ms to check if the user has closed the popup asking to log-in again. Defaults to 2000.
  • KeycloakAuthenticationHolderOptions interface
  • Properties
Copyright © 2019 ActiveViam