isPwd
fun String.isPwd(strength: PwdStrength = PwdStrength1, @IntRange(from = 0) minLength: Int = 6, @IntRange(from = 0) maxLength: Int = 20, shouldNotAppear: Array<String> = emptyArray()): Boolean
Check if string meets password requirements.
Return
True if the String is a password, false otherwise.
Since
0.5.2
Parameters
strength
The strength of the password you want.
minLength
Minimum password length.
maxLength
Maximum password length.
shouldNotAppear
What you think should not be in the password, for example "admin".