package | Gems |
---|---|
subpackage | User |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.5 |
reportPasswordWeakness(\Gems_User_User $user, string $password, array $codes) : mixed
\Gems_User_User
string
Or null when you want a report on all the rules for this password.
array
An array of code names that identify rules that should be used only for those codes.
mixed
String or array of strings containing warning messages_addError(\type $errorMsg)
\type
capsCount(mixed $parameter, string $password)
mixed
string
inPasswordList(string $parameter, string $password)
string
Filename of the password list, relative to APPLICATION_PATH
string
The password
lowerCount(mixed $parameter, string $password)
mixed
string
maxAge(mixed $parameter, string $password)
mixed
string
minLength(mixed $parameter, string $password)
mixed
string
notAlphaCount(mixed $parameter, string $password)
mixed
string
notAlphaNumCount(mixed $parameter, string $password)
mixed
string
notTheName(mixed $parameter, string $password)
mixed
string
numCount(mixed $parameter, string $password)
mixed
string
$_errors : array
array()
$cache : \Zend_Cache
$project : \Gems_Project_ProjectSettings
$translate : \Zend_Translate
$user : \Gems_User_User