@Password()
New in 2.0Since 2.0.0
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| min | — | — | ||
| max | — | — | ||
| allowUpperCase | — | — | ||
| allowLowerCase | — | — | ||
| allowDigits | — | — | ||
| allowSpecialChar | — | — |
Usage
@Password(arg0,arg1,arg2,arg3,arg4,arg5)Example:
@Passd(5,8,true,true,true,true)
Output:
H-+:6@7^KQf8@Password(arg0,arg1,arg2,arg3)Example:
@Passd(true,true,true,true)
Output:
H/70~{E:nmB%e'KIJbW2DP`\<s3b+ze@Password(arg0,arg1)Example:
@Passd(5,8)
Output:
llbxB6ZqLQlgRz@Password()Example:
@Passd()
Output:
PKA1BGmNiD5p27p2w