interface PasswordInterface

Secure password hashing functions for user authentication.

Hierarchy

File

core/lib/Drupal/Core/Password/PasswordInterface.php, line 8

Namespace

Drupal\Core\Password

Members

Name Modifiers Type Description
PasswordInterface::check public function Check whether a plain text password matches a hashed password.
PasswordInterface::hash public function Hash a password using a secure hash.
PasswordInterface::needsRehash public function Check whether a hashed password needs to be replaced with a new hash.
PasswordInterface::PASSWORD_MAX_LENGTH constant Maximum password length.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Password!PasswordInterface.php/interface/PasswordInterface/8.1.x