AbstractProtectCallback
open class AbstractProtectCallback : AbstractCallback, ContinueNodeAware, @unchecked Sendable
Abstract Protect Callback that provides the raw content of the Callback, and common methods for sub classes to access.
-
Reference to the continue node for accessing other callbacks
Declaration
Swift
public weak var continueNode: ContinueNode? -
Initializes a new instance of
AbstractProtectCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
initialize(with:Asynchronous) Initialize from JSON object
Declaration
Swift
public override func initialize(with json: [String : Any]) async -> any Callback -
Input the Client Error to the server
Declaration
Swift
public func error(_ value: String)Parameters
valueProtect ErrorType
-
Input the Signal to the server
Declaration
Swift
public func signal(_ value: String, error: String)Parameters
valueThe JWS value
errorError message if any
View on GitHub