Interface AuthenticationUiCallback

  • All Implemented Interfaces:

    
    public interface AuthenticationUiCallback
    
                        

    An application can control whether UI is shown by implementing this interface. The callback can be registered by calling setAuthenticationUiCallback.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean allowShowingUiToAuthenticate()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • allowShowingUiToAuthenticate

         abstract boolean allowShowingUiToAuthenticate()
        Returns:

        true if the application is in a state where it is OK to show authentication UI (eg: a login page). false if the application would rather the request getting the authentication challenge fails instead of showing UI to authenticate.