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
Title Object type File name Summary
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.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.
serializer.normalizer.password_field_item service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\NullNormalizer
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.
UserAuthTest::$passwordService property core/modules/user/tests/src/Unit/UserAuthTest.php The mocked password service.
UserAuthTest::testAuthenticateWithCorrectPasswordAndNewPasswordHash function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password & new password hash.
UserEditTest::testUserWellKnownChangePasswordAnon function core/modules/user/tests/src/Functional/UserEditTest.php Tests well known change password route returns 403 to anonymous user.
UserEditTest::testUserWellKnownChangePasswordAuth function core/modules/user/tests/src/Functional/UserEditTest.php Tests well known change password route redirects to user edit form.
UserEntityTest::testChainExistingPasswordMethod function core/modules/user/tests/src/Kernel/UserEntityTest.php Tests that ::existingPassword can be used for chaining.
UserLoginHttpTest::doTestPasswordReset function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Do password reset testing for given format and account.
UserLoginHttpTest::passwordRequest function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Executes a password HTTP request for a given serialization format.
UserLoginHttpTest::testPasswordReset function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Tests user password reset.
UserLoginTest::doPasswordLengthLogin function core/modules/user/tests/src/Functional/UserLoginTest.php Helper to test log in with a maximum length password.
UserLoginTest::testPasswordLengthLogin function core/modules/user/tests/src/Functional/UserLoginTest.php Tests log in with a maximum length and a too long password.
UserLoginTest::testPasswordRehashOnLogin function core/modules/user/tests/src/Functional/UserLoginTest.php Tests user password is re-hashed upon login after changing $count_log2.
UserPassRehashTest::testUniqueHashNoPasswordValue function core/modules/user/tests/src/Kernel/UserPassRehashTest.php Tests uniqueness of hashes when no password is set.
UserPasswordForm class core/modules/user/src/Form/UserPasswordForm.php Provides a user password reset form.
UserPasswordForm.php file core/modules/user/src/Form/UserPasswordForm.php
UserPasswordForm::$emailValidator property core/modules/user/src/Form/UserPasswordForm.php The email validator service.
UserPasswordForm::$flood property core/modules/user/src/Form/UserPasswordForm.php The flood service.
UserPasswordForm::$languageManager property core/modules/user/src/Form/UserPasswordForm.php The language manager.

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