|
| __construct (\OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker $openSSLFunctionalityChecker) |
|
| generate () |
|
Generates Salt for the user password
- Deprecated:
- since v6.4.0 (2019-03-15);
\OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridgeInterface
was added as the new default for hashing passwords. Hashing passwords with MD5 and SHA512 is still supported in order support login with older password hashes. Therefor this class might not be compatible with the current passhword hash any more.
◆ __construct()
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::__construct |
( |
\OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker |
$openSSLFunctionalityChecker | ) |
|
Sets dependencies.
- Parameters
-
\OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker | $openSSLFunctionalityChecker | |
◆ _customSaltGenerator()
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::_customSaltGenerator |
( |
| ) |
|
|
protected |
Generates custom salt.
- Returns
- string
- Deprecated:
- underscore prefix violates PSR12, will be renamed to "customSaltGenerator" in next major
◆ _getOpenSSLFunctionalityChecker()
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::_getOpenSSLFunctionalityChecker |
( |
| ) |
|
|
protected |
Gets open SSL functionality checker.
- Returns
- \OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker
- Deprecated:
- underscore prefix violates PSR12, will be renamed to "getOpenSSLFunctionalityChecker" in next major
◆ generate()
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::generate |
( |
| ) |
|
Generates salt. If openssl_random_pseudo_bytes function is not available, than fallback to custom salt generator.
- Returns
- string
◆ $_openSSLFunctionalityChecker
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::$_openSSLFunctionalityChecker |
|
private |
The documentation for this class was generated from the following file: