Interface CallbackController

  • All Known Implementing Classes:
    AdaptiveCallbackFragment

    public interface CallbackController
    Controller to collect Callback data for CallbackFragment and control the Auth Service Action, the parent activity or parent fragment of the CallbackFragment should implement this interface to manage the embedded CallbackFragment. see AdaptiveCallbackFragment
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cancel​(java.lang.Exception e)
      Cancel the current authentication
      void next()
      Move to the next node in the tree
      void onDataCollected​(org.forgerock.android.auth.callback.Callback callback)
      Notify when callback data are collected.
      void suspend()
      Suspend the current authentication
    • Method Detail

      • next

        void next()
        Move to the next node in the tree
      • onDataCollected

        void onDataCollected​(org.forgerock.android.auth.callback.Callback callback)
        Notify when callback data are collected.
        Parameters:
        callback - The Callback
      • cancel

        void cancel​(java.lang.Exception e)
        Cancel the current authentication
        Parameters:
        e - Exception when cancelling the authentication process.
      • suspend

        void suspend()
        Suspend the current authentication