base class for some jAuth drivers
| package |
jelix |
|---|
__construct( $params)
checkPassword(string $givenPassword, string $currentPasswordHash) : boolean|string
stringthe password to verify
stringthe hash of the real password
boolean|stringfalse if password does not correspond. True if it is ok. A string containing a new hash if it is ok and need to store a new hash
cryptPassword(string $password, $forceOldHash = false) : string
stringthe password to hash
stringthe hash password
_params :
passwordHashMethod :
passwordHashOptions :