Functions
Link copied to clipboard
Creates a PasswordRule that checks whether the password contains at least one digit.
Link copied to clipboard
fun containsLowercase(description: String = "Password must contain at least one lowercase character"): PasswordRule
Creates a PasswordRule that checks whether the password contains at least one lowercase character.
Link copied to clipboard
fun containsSpecialCharacter(description: String = "Password must contain at least one special character"): PasswordRule
Creates a PasswordRule that checks whether the password contains at least one special character.
Link copied to clipboard
fun containsUppercase(description: String = "Password must contain at least one uppercase character"): PasswordRule
Creates a PasswordRule that checks whether the password contains at least one uppercase character.
Link copied to clipboard
Creates a PasswordRule that checks whether the password is at most length characters long.
Link copied to clipboard
Creates a PasswordRule that checks whether the password is at least length characters long.