ValidatedPasswordCallback
public class ValidatedPasswordCallback : AbstractValidatedCallback, @unchecked Sendable
A callback that collects a password with validation against given policies.
-
Boolean indicator whether or not to display input value
Declaration
Swift
private(set) public var echoOn: Bool { get } -
The password input collected from the user.
Declaration
Swift
public var password: String -
Initializes a new instance of
ValidatedCreatePasswordCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Returns the payload with the password and validation values.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub