trait PasswordPolicy

This trait contains a collection of getter functions for retrieving values regarding your password policy.

Methods

bool
isMaxLength()

Gets max length rule for password.

bool
isMinLength()

Gets minimum rule for password.

bool
lowerChar()

Gets lower char requirement for password.

string
maxLength()

Gets value for max length for passwords.

string
minLength()

Gets value for min length for passwords.

bool
numericChar()

Gets numeric char requirement for password.

bool
specialChar()

Gets special char requirement for password.

bool
upperChar()

Gets upper char requirement for password.

Details

at line 15
bool isMaxLength()

Gets max length rule for password.

Return Value

bool

at line 24
bool isMinLength()

Gets minimum rule for password.

Return Value

bool

at line 33
bool lowerChar()

Gets lower char requirement for password.

Return Value

bool

at line 42
string maxLength()

Gets value for max length for passwords.

Return Value

string

at line 51
string minLength()

Gets value for min length for passwords.

Return Value

string

at line 60
bool numericChar()

Gets numeric char requirement for password.

Return Value

bool

at line 69
bool specialChar()

Gets special char requirement for password.

Return Value

bool

at line 78
bool upperChar()

Gets upper char requirement for password.

Return Value

bool