onCallbackReceived

abstract fun onCallbackReceived(node: Node)

Notify the listener that the AuthService has been started and moved to the first node.

Parameters

node

The first Node


open fun onCallbackReceived(authServiceId: String, response: JSONObject): Node

Transform the response from AM Intelligent Tree to Node Object, after the transformation .onCallbackReceived will be invoked with the returned Node.

Return

The Node Object

Parameters

authServiceId

Unique Auth Service Id

response

The JSON Response from AM Intelligent Tree

Throws

Any error during the transformation