Search for password

  1. Search 7.x for password
  2. Search 9.5.x for password
  3. Search 8.9.x for password
  4. Search 10.3.x for password
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
password service core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.services.yml Drupal\Core\Password\PhpPassword
password service core/core.services.yml Drupal\Core\Password\PhpPassword
Password class core/lib/Drupal/Core/Render/Element/Password.php Provides a form element for entering a password, with hidden text.

All search results

Title Object type File name Summary
PhpassHashedPasswordBase::check function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Check whether a plain text password matches a hashed password.
PhpassHashedPasswordBase::crypt function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Hash a password using a secure stretched hash.
PhpassHashedPasswordBase::enforceLog2Boundaries function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Ensures that $count_log2 is within set bounds.
PhpassHashedPasswordBase::getCountLog2 function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Parses the log2 iteration count from a stored hash or setting string.
PhpassHashedPasswordBase::hash function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Hash a password using a secure hash.
PhpassHashedPasswordBase::HASH_LENGTH constant core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php The expected (and maximum) number of characters in a hashed password.
PhpassHashedPasswordBase::MAX_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php The maximum allowed log2 number of iterations for password stretching.
PhpassHashedPasswordBase::MIN_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php The minimum allowed log2 number of iterations for password stretching.
PhpassHashedPasswordBase::needsRehash function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Check whether a hashed password needs to be replaced with a new hash.
PhpassHashedPasswordBase::__construct function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Constructs a new password hashing instance.
PhpassHashedPasswordLog2BoundariesDouble class core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Test double for test coverage of enforceLog2Boundaries().
PhpassHashedPasswordLog2BoundariesDouble::enforceLog2Boundaries function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Exposes this method as public for tests.
PhpassHashedPasswordLog2BoundariesDouble::__construct function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Constructs a new password hashing instance.
PhpPassword class core/lib/Drupal/Core/Password/PhpPassword.php Secure PHP password hashing functions.
PhpPassword.php file core/lib/Drupal/Core/Password/PhpPassword.php
PhpPassword::check function core/lib/Drupal/Core/Password/PhpPassword.php Check whether a plain text password matches a hashed password.
PhpPassword::hash function core/lib/Drupal/Core/Password/PhpPassword.php Hash a password using a secure hash.
PhpPassword::needsRehash function core/lib/Drupal/Core/Password/PhpPassword.php Check whether a hashed password needs to be replaced with a new hash.
PhpPassword::__construct function core/lib/Drupal/Core/Password/PhpPassword.php Constructs a new password hashing instance.
PhpPasswordTest class core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Unit tests for password hashing API.
PhpPasswordTest.php file core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php
PhpPasswordTest::$password property core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php The raw password.
PhpPasswordTest::$passwordHash property core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php The hashed password.
PhpPasswordTest::$passwordHasher property core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php The password hasher under test.
PhpPasswordTest::providerLongPasswords function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Provides the test matrix for testLongPassword().
PhpPasswordTest::setUp function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php
PhpPasswordTest::testEmptyHash function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Tests password check in case provided hash is NULL.
PhpPasswordTest::testLongPassword function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Verifies that passwords longer than 512 bytes are not hashed.
PhpPasswordTest::testPasswordChecking function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Tests password hashing.
PhpPasswordTest::testPasswordNeedsUpdate function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Tests a password needs update.
PhpPasswordTest::testPasswordRehashing function core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php Tests password rehashing.
QuickStartTestBase::$adminPassword property core/tests/Drupal/BuildTests/QuickStart/QuickStartTestBase.php Password of the admin account generated during install.
serializer.normalizer.password_field_item service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\NullNormalizer
TestFileTransfer::$password property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php The password for this file transfer.
User::checkExistingPassword function core/modules/user/src/Entity/User.php Checks the existing password if set.
User::getPassword function core/modules/user/src/Entity/User.php Returns the hashed password.
User::setExistingPassword function core/modules/user/src/Entity/User.php Sets the existing plain text password.
User::setPassword function core/modules/user/src/Entity/User.php Sets the user password.
UserAccessControlHandlerTest::passwordAccessProvider function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Provides test data for passwordAccessProvider().
UserAccessControlHandlerTest::testPasswordAccess function core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Tests that passwords cannot be viewed, just edited.
UserAccountFormPasswordResetTest class core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php Verifies that the password reset behaves as expected with form elements.
UserAccountFormPasswordResetTest.php file core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php
UserAccountFormPasswordResetTest::$modules property core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php Modules to install.
UserAccountFormPasswordResetTest::$user property core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php User object.
UserAccountFormPasswordResetTest::buildAccountForm function core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php Builds the user account form for a given operation.
UserAccountFormPasswordResetTest::setUp function core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php
UserAccountFormPasswordResetTest::testPasswordResetToken function core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php Tests the reset token used only from query string.
UserAuth::$passwordChecker property core/modules/user/src/UserAuth.php The password hashing service.
UserAuthentication::$passwordChecker property core/modules/user/src/UserAuthentication.php The password hashing service.
UserAuthenticationController::resetPassword function core/modules/user/src/Controller/UserAuthenticationController.php Resets a user password.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.