password
password builder create Password for validation.
Example :
val password = password {
isValidLength(5) { println("isValidLength $it") }
includeDigit { println("includeDigit $it") }
includeLowerCase { println("includeLowerCase $it") }
includeUpperCase { println("includeUpperCase $it") }
includeSpecialChar { println("includeSpecialChar $it") }
excludeWhitespace { println("excludeWhitespace $it") }
}
password.value = "password"
Content copied to clipboard
Since
1.4.0