java.lang.Object
net.datenwerke.oidc.client.provider.keycloak.jsi.InitOptions
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public class InitOptions extends Object
Mapper class for keycloak js init options.
  • Constructor Details

    • InitOptions

      public InitOptions()
  • Method Details

    • onLoad

      public String onLoad()
      Getter for onLoad.
      Returns:
      The onLoad.
    • onLoad

      public final InitOptions onLoad(OnLoadAction onLoad)
      Helper for chaining init option setters.
      Parameters:
      onLoad - The onLoad action to set.
      Returns:
      The init option instance.
    • token

      public String token()
      Getter for token.
      Returns:
      The token.
    • token

      public final InitOptions token(String token)
      Helper for chaining init option setters.
      Parameters:
      token - The token to set.
      Returns:
      The init option instance.
    • refreshToken

      public String refreshToken()
      Getter for refreshToken.
      Returns:
      The refreshToken.
    • refreshToken

      public final InitOptions refreshToken(String refreshToken)
      Helper for chaining init option setters.
      Parameters:
      refreshToken - The refreshToken to set.
      Returns:
      The init option instance.
    • idToken

      public String idToken()
      Getter for idToken.
      Returns:
      The idToken.
    • idToken

      public final InitOptions idToken(String idToken)
      Helper for chaining init option setters.
      Parameters:
      idToken - The idToken to set.
      Returns:
      The init option instance.
    • timeSkew

      public int timeSkew()
      Getter for timeSkew.
      Returns:
      The timeSkew.
    • timeSkew

      public final InitOptions timeSkew(int timeSkew)
      Helper for chaining init option setters.
      Parameters:
      timeSkew - The timeSkew to set.
      Returns:
      The init option instance.
    • enableLogging

      public boolean enableLogging()
      Getter for enableLogging.
      Returns:
      The enableLogging.
    • enableLogging

      public final InitOptions enableLogging(boolean enableLogging)
      Helper for chaining init option setters.
      Parameters:
      enableLogging - The enableLogging to set.
      Returns:
      The init option instance.
    • checkLoginIframe

      public boolean checkLoginIframe()
      Getter for checkLoginIframe.
      Returns:
      The checkLoginIframe.
    • checkLoginIframe

      public final InitOptions checkLoginIframe(boolean checkLoginIframe)
      Helper for chaining init option setters.
      Parameters:
      checkLoginIframe - The checkLoginIframe to set.
      Returns:
      The init option instance.
    • checkLoginIframeInterval

      public int checkLoginIframeInterval()
      Getter for checkLoginIframeInterval.
      Returns:
      The checkLoginIframeInterval.
    • checkLoginIframeInterval

      public final InitOptions checkLoginIframeInterval(int checkLoginIframeInterval)
      Helper for chaining init option setters.
      Parameters:
      checkLoginIframeInterval - The checkLoginIframeInterval to set.
      Returns:
      The init option instance.
    • responseMode

      public String responseMode()
      Getter for responseMode.
      Returns:
      The responseMode.
    • responseMode

      public final InitOptions responseMode(ResponseMode responseMode)
      Helper for chaining init option setters.
      Parameters:
      responseMode - The responseMode to set.
      Returns:
      The init option instance.
    • flow

      public String flow()
      Getter for flow.
      Returns:
      The flow.
    • flow

      public final InitOptions flow(Flow flow)
      Helper for chaining init option setters.
      Parameters:
      flow - The flow to set.
      Returns:
      The init option instance.
    • silentCheckSsoFallback

      public boolean silentCheckSsoFallback()
      Getter for silentCheckSsoFallback.
      Returns:
      The silentCheckSsoFallback.
    • silentCheckSsoFallback

      public final InitOptions silentCheckSsoFallback(boolean silentCheckSsoFallback)
      Helper for chaining init option setters.
      Parameters:
      silentCheckSsoFallback - The silentCheckSsoFallback to set.
      Returns:
      The init option instance.
    • silentCheckSsoRedirectUri

      public String silentCheckSsoRedirectUri()
      Getter for silentCheckSsoRedirectUri.
      Returns:
      The silentCheckSsoRedirectUri.
    • silentCheckSsoRedirectUri

      public final InitOptions silentCheckSsoRedirectUri(String silentCheckSsoRedirectUri)
      Helper for chaining init option setters.
      Parameters:
      silentCheckSsoRedirectUri - The silentCheckSsoRedirectUri to set.
      Returns:
      The init option instance.