Interface AuthStrategyInterface
Interface AuthStrategyInterface
Direct known implementers
Package: Authentication\Interfaces
Category: System
Located at Services/Core/Authentication/Strategies/Interfaces/AuthStrategyInterface.inc.php
Category: System
Located at Services/Core/Authentication/Strategies/Interfaces/AuthStrategyInterface.inc.php
Methods summary
public
verify( StringType $password, NonEmptyStringType $hash, AuthStrategyCollection $authStrategyCollection = null )
: boolean
Verifies a given password by its stored hash from the current hashing algorithm.
public
getRehashedPassword( StringType $password, NonEmptyStringType $hash, AuthStrategyCollection $authStrategyCollection = null )
: string
Returns a rehashed password hash if it does not match the currently used hashing algorithm.