OXID eShop CE  6.2.3
OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge:
+ Collaboration diagram for OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge:

Public Member Functions

 __construct (PasswordHashServiceInterface $passwordHashService, PasswordVerificationServiceInterface $passwordVerificationService)
 
 hash (string $password)
 
 passwordNeedsRehash (string $passwordHash)
 
 verifyPassword (string $password, string $passwordHash)
 

Private Attributes

 $passwordHashService
 
 $passwordVerificationService
 

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge::__construct ( PasswordHashServiceInterface  $passwordHashService,
PasswordVerificationServiceInterface  $passwordVerificationService 
)
Parameters
PasswordHashServiceInterface$passwordHashService
PasswordVerificationServiceInterface$passwordVerificationService

Member Function Documentation

◆ hash()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge::hash ( string  $password)

◆ passwordNeedsRehash()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge::passwordNeedsRehash ( string  $passwordHash)

◆ verifyPassword()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge::verifyPassword ( string  $password,
string  $passwordHash 
)

Verify that a given password matches a given hash

Parameters
string$password
string$passwordHash
Returns
bool

Implements OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridgeInterface.

Member Data Documentation

◆ $passwordHashService

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge::$passwordHashService
private

◆ $passwordVerificationService

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Bridge\PasswordServiceBridge::$passwordVerificationService
private

The documentation for this class was generated from the following file: