Class CustomerPassword

Class CustomerPassword

Represents a customer's password.

CustomerPassword implements CustomerPasswordInterface
Package: Customer\ValueObjects
Deprecated: This class is deprecated and will be deleted in GX 3.7. Use CustomerHashedPassword instead.
Category: System
Implements: CustomerPasswordInterface
Located at Services/Core/Customer/ValueObjects/CustomerPassword.inc.php

Methods summary

public __construct( string $p_password, boolean $p_disableHash = false )

Constructor for the class CustomerPassword.

public __toString( void ) : string

Returns the password string value (either hashed or not).

protected _getHash( string $p_password ) : string

Get password hash string.

Properties summary

protected $password : string

Customer's password.