Package 

Interface Callback

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess(T result) Method called on success with the result.
      abstract Unit onFailure(U error) Method called on Auth0 API request failure
      • Methods inherited from class com.auth0.android.callback.Callback

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract Unit onSuccess(T result)

        Method called on success with the result.

        Parameters:
        result - Request result
      • onFailure

         abstract Unit onFailure(U error)

        Method called on Auth0 API request failure

        Parameters:
        error - The reason of the failure