Package 

Interface OnAuthWithOAuth

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

    
    public interface OnAuthWithOAuth
     implements OnAuth
                        

    OAuth authentication callback for authWithOAuth and authWithOAuth.

    • 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 void onCancel(WebcomError error) This callback is called when the final user cancels the authentication operation, typically by closing the authentication WebView (using the 'back' button).
      • Methods inherited from class com.orange.webcom.sdk.OnAuth

        onComplete, onError
      • 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

      • onCancel

         abstract void onCancel(WebcomError error)

        This callback is called when the final user cancels the authentication operation, typically by closing the authentication WebView (using the 'back' button). This may also be called when the WebView encounters network failures to display the authentication page served by the provider.

        Parameters:
        error - The error describing the cancellation reason.