PasswordCallback
public class PasswordCallback : AbstractCallback, ObservableObject, @unchecked Sendable
A callback that collects a password input from the user.
-
The prompt message displayed to the user.
Declaration
Swift
private(set) public var prompt: String { get } -
The password input collected from the user.
Declaration
Swift
public var password: String -
Initializes a new instance of
PasswordCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Returns the payload with the password value.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub