Search for password

  1. Search 7.x for password
  2. Search 9.5.x for password
  3. Search 10.3.x for password
  4. Search 11.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_phpass_params_test/user_custom_phpass_params_test.services.yml Drupal\Core\Password\PhpassHashedPassword
password service core/core.services.yml Drupal\Core\Password\PhpassHashedPassword
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
PasswordInterface::check function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a plain text password matches a hashed password.
PasswordInterface::hash function core/lib/Drupal/Core/Password/PasswordInterface.php Hash a password using a secure hash.
PasswordInterface::needsRehash function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a hashed password needs to be replaced with a new hash.
PasswordInterface::PASSWORD_MAX_LENGTH constant core/lib/Drupal/Core/Password/PasswordInterface.php Maximum password length.
PasswordItem class core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines the 'password' entity field type.
PasswordItem.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php
PasswordItem::isEmpty function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Determines whether the data structure is empty.
PasswordItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines custom presave behavior for field values.
PasswordItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php Defines field item properties.
PasswordTest class core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php @coversDefaultClass \Drupal\Core\Render\Element\Password
@group Render
PasswordTest.php file core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php
PasswordTest::providerTestValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php Data provider for testValueCallback().
PasswordTest::testValueCallback function core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php @covers ::valueCallback
PhpassHashedPassword class core/lib/Drupal/Core/Password/PhpassHashedPassword.php Secure password hashing functions based on the Portable PHP password
hashing framework.
PhpassHashedPassword.php file core/lib/Drupal/Core/Password/PhpassHashedPassword.php
PhpassHashedPassword::$countLog2 property core/lib/Drupal/Core/Password/PhpassHashedPassword.php Specifies the number of times the hashing function will be applied when
generating new password hashes. The number of times is calculated by
raising 2 to the power of the given value.
PhpassHashedPassword::$ITOA64 property core/lib/Drupal/Core/Password/PhpassHashedPassword.php Returns a string for mapping an int to the corresponding base 64 character.
PhpassHashedPassword::base64Encode function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Encodes bytes into printable base 64 using the *nix standard from crypt().
PhpassHashedPassword::check function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Check whether a plain text password matches a hashed password.
PhpassHashedPassword::crypt function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Hash a password using a secure stretched hash.
PhpassHashedPassword::enforceLog2Boundaries function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Ensures that $count_log2 is within set bounds.
PhpassHashedPassword::generateSalt function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Generates a random base 64-encoded salt prefixed with hash settings.
PhpassHashedPassword::getCountLog2 function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Parses the log2 iteration count from a stored hash or setting string.
PhpassHashedPassword::hash function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Hash a password using a secure hash.
PhpassHashedPassword::HASH_LENGTH constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The expected (and maximum) number of characters in a hashed password.
PhpassHashedPassword::MAX_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The maximum allowed log2 number of iterations for password stretching.
PhpassHashedPassword::MIN_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The minimum allowed log2 number of iterations for password stretching.
PhpassHashedPassword::needsRehash function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Check whether a hashed password needs to be replaced with a new hash.
PhpassHashedPassword::__construct function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Constructs a new password hashing instance.
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.
UserAuth::$passwordChecker property core/modules/user/src/UserAuth.php The password hashing service.
UserAuthenticationController::resetPassword function core/modules/user/src/Controller/UserAuthenticationController.php Resets a user password.
UserAuthTest::$password property core/modules/user/tests/src/Unit/UserAuthTest.php The test password.
UserAuthTest::$passwordService property core/modules/user/tests/src/Unit/UserAuthTest.php The mocked password service.
UserAuthTest::testAuthenticateWithCorrectPassword function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password.
UserAuthTest::testAuthenticateWithCorrectPasswordAndNewPasswordHash function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password and new password hash.
UserAuthTest::testAuthenticateWithIncorrectPassword function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with an incorrect password.
UserAuthTest::testAuthenticateWithZeroPassword function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password.
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.
UserEditTest::testUserWith0Password function core/modules/user/tests/src/Functional/UserEditTest.php Tests setting the password to "0".
UserInterface::checkExistingPassword function core/modules/user/src/UserInterface.php Checks the existing password if set.

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