Validates password and rehashes if necessary.
public isValid ( string $password, string $passwordHash, string $legacySalt = null, string $identity = null ) : JeremyKendall\Password\Result | ||
$password | string | Password provided by user during login |
$passwordHash | string | User's current hashed password |
$legacySalt | string | OPTIONAL salt used in legacy password hashing |
$identity | string | OPTIONAL unique user identifier |
Résultat | JeremyKendall\Password\Result |