Method |
Description |
|
__construct ( ) |
Constructor |
|
executeNewPasswordReset ( integer $user_guid, string $conf_code, string $password = null ) : boolean |
Validate and change password for a user. |
|
forcePasswordReset ( ElggUser | integer $user, string $password ) : boolean |
Set a user's new password and save the entity. |
|
generateHash ( string $password ) : string |
Hash a password for storage using password_hash() |
|
needsRehash ( string $hash ) : boolean |
Determine if the password hash needs to be rehashed |
|
sendNewPasswordRequest ( integer $user_guid ) : boolean |
Generate and send a password request email to a given user's registered email address. |
|
verify ( string $password, string $hash ) : boolean |
Verify a password against a hash using a timing attack resistant approach |
|