next
Move on to the next node in the tree.
Parameters
The Application Context
Listener for receiving AuthService related changes onSuccess on success login. onCallbackReceived step to the next node, Node is returned. throws IllegalStateException when the tree is invalid, e.g the authentication tree has been completed. throws org.forgerock.android.auth.exception.AuthenticationException when server returns HTTP_UNAUTHORIZED throws org.forgerock.android.auth.exception.ApiException When server return errors. throws javax.security.auth.callback.UnsupportedCallbackException When org.forgerock.android.auth.callback.Callback returned from Server is not supported by the SDK. throws org.forgerock.android.auth.exception.SuspendedAuthSessionException When Suspended ID timeout throws org.forgerock.android.auth.exception.AuthenticationTimeoutException When Authentication tree timeout throws org.json.JSONException when failed to parse server response as JSON String. throws IOException When there is any network error. throws java.net.MalformedURLException When failed to parse the URL for API request. throws NoSuchMethodException or SecurityException When failed to initialize the Callback class.