Package 

Interface OnAuth

  • All Implemented Interfaces:
    com.orange.webcom.sdk.Callback

    
    public interface OnAuth
     implements Callback
                        

    Authentication callback for authInternally, addIdentity, ...

    • 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 void onComplete(@Nullable() OnAuth.AuthResponse response) Called when the authentication is successful
      abstract void onError(WebcomError error) Called when the authentication fails and/or the token is invalid
      • Methods inherited from class com.orange.webcom.sdk.Callback

        onError
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onError

         abstract void onError(WebcomError error)

        Called when the authentication fails and/or the token is invalid

        Parameters:
        error - The authentication error