Class CustomerPassword
Represents a customer's password.
deprecated |
This class is deprecated and will be deleted in GX 3.7. Use CustomerHashedPassword instead. |
---|---|
category |
System |
package |
Customer |
subpackage |
ValueObjects |
implements |
CustomerPasswordInterface |
__construct(string $p_password, boolean $p_disableHash = false)
Validates password and build md5-hash.
Throws |
|
---|
string
Customer's password.
boolean
(optional) Will not hash the provided password string.
__toString() : string
string
_getHash(string $p_password) : string
deprecated |
Automatic password hashing is deprecated. Use the AuthService::getHash() for hashing instead. |
---|---|
Throws |
|
string
Password to be hashed.
string
password : string
var |
---|
string