HiddenValueCallback
public class HiddenValueCallback : AbstractCallback, ValueCallbackProtocol, ObservableObject, @unchecked Sendable
A callback that handles hidden values in the authentication flow.
-
Hidden identifier value
Declaration
Swift
public var valueId: String -
The hidden value to be sent back
Declaration
Swift
public var value: String -
Initializes a new instance of
HiddenValueCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Convinience Method for setting the value
Declaration
Swift
public func setValue(_ value: String)Parameters
valueValue of the input to be updated
-
Returns the payload with the hidden value.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub