Node

open class Node : Serializable

Constructors

Link copied to clipboard
constructor(authId: String, stage: String, header: String, description: String, authServiceId: String, callbacks: List<Callback>)

Properties

Link copied to clipboard
val AUTH_ID: String = "authId"
Link copied to clipboard
Link copied to clipboard
private val authServiceId: String
Link copied to clipboard
Link copied to clipboard
val DESCRIPTION: String = "description"
Link copied to clipboard
Link copied to clipboard
val HEADER: String = "header"
Link copied to clipboard
Link copied to clipboard
val STAGE: String = "stage"
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun <T> getCallback(clazz: Class<T>): T
Find the first match Callback with the provided Class.
Link copied to clipboard
open fun next(context: Context, listener: NodeListener<out Any>)
Move on to the next node in the tree.
Link copied to clipboard
open fun setCallback(callback: Callback)
Sets the Callback object for the AuthService node.
Link copied to clipboard
Returns JSONObject mapping of the object