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
Title Object type File name Summary
PasswordTest class core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php @coversDefaultClass \Drupal\Core\Render\Element\Password[[api-linebreak]]
@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[[api-linebreak]]
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.
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.
UserAuth::$passwordChecker property core/modules/user/src/UserAuth.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 and 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.
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.
UserLoginHttpTest::testPasswordReset function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Tests user password reset.
UserLoginTest::testPasswordRehashOnLogin function core/modules/user/tests/src/Functional/UserLoginTest.php Test that user password is re-hashed upon login after changing $count_log2.
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::$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.
UserPasswordForm::$userStorage property core/modules/user/src/Form/UserPasswordForm.php The user storage.
UserPasswordForm::buildForm function core/modules/user/src/Form/UserPasswordForm.php Form constructor.
UserPasswordForm::create function core/modules/user/src/Form/UserPasswordForm.php Instantiates a new instance of this class.
UserPasswordForm::getFormId function core/modules/user/src/Form/UserPasswordForm.php Returns a unique string identifying the form.
UserPasswordForm::submitForm function core/modules/user/src/Form/UserPasswordForm.php Form submission handler.
UserPasswordForm::validateForm function core/modules/user/src/Form/UserPasswordForm.php Form validation handler.
UserPasswordForm::__construct function core/modules/user/src/Form/UserPasswordForm.php Constructs a UserPasswordForm object.
UserPasswordFormTest class core/modules/user/tests/src/Kernel/Form/UserPasswordFormTest.php @coversDefaultClass \Drupal\user\Form\UserPasswordForm[[api-linebreak]]
@group user
UserPasswordFormTest.php file core/modules/user/tests/src/Kernel/Form/UserPasswordFormTest.php
UserPasswordFormTest::testConstructorDeprecations function core/modules/user/tests/src/Kernel/Form/UserPasswordFormTest.php @group legacy
@expectedDeprecation Calling Drupal\user\Form\UserPasswordForm::__construct without the $config_factory is deprecated in drupal:8.8.0 and is required before drupal:9.0.0. See https://www.drupal.org/node/1681832
@expectedDeprecation…
UserPasswordResetForm class core/modules/user/src/Form/UserPasswordResetForm.php Form controller for the user password forms.
UserPasswordResetForm.php file core/modules/user/src/Form/UserPasswordResetForm.php
UserPasswordResetForm::buildForm function core/modules/user/src/Form/UserPasswordResetForm.php
UserPasswordResetForm::getFormId function core/modules/user/src/Form/UserPasswordResetForm.php Returns a unique string identifying the form.
UserPasswordResetForm::submitForm function core/modules/user/src/Form/UserPasswordResetForm.php Form submission handler.

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