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
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.
PasswordItemTest class core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @coversDefaultClass \Drupal\Core\Field\Plugin\Field\FieldType\PasswordItem[[api-linebreak]]
@group Field
PasswordItemTest.php file core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
PasswordItemTest::$field property core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php The field used in this test class.
PasswordItemTest::$fieldStorage property core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php A field storage to use in this test class.
PasswordItemTest::setUp function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php Set the default field storage backend for fields created during tests.
PasswordItemTest::testPreSaveExceptionExisting function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveExceptionNew function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveExistingEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveExistingMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveExistingNull function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveNewEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveNewMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveNewNull function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSavePreHashed function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave[[api-linebreak]]
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]]
PasswordVerifyTest class core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Unit tests for password hashing API.
PasswordVerifyTest.php file core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php
PasswordVerifyTest::providerLongPasswords function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Provides the test matrix for testLongPassword().
PasswordVerifyTest::testLongPassword function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Verifies that passwords longer than 512 bytes are not hashed.
PasswordVerifyTest::testPasswordCheckSupported function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that check() verifies passwords if hash settings are supported.
PasswordVerifyTest::testPasswordCheckUnknownHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that check() is forwarded to corePassword instance if hash settings are not recognized.
PasswordVerifyTest::testPasswordHash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that hash() is forwarded to corePassword instance.
PasswordVerifyTest::testPasswordNeedsRehash function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests that needsRehash() is forwarded to corePassword instance.
PasswordVerifyTest::testWithinBounds function core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php Tests the hash count boundaries are enforced.
password_generator service core/core.services.yml Drupal\Core\Password\DefaultPasswordGenerator
PhpassHashedPassword.php file core/modules/phpass/src/Password/PhpassHashedPassword.php
PhpassHashedPasswordBase class core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Legacy password hashing framework.
PhpassHashedPasswordBase.php file core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php
PhpassHashedPasswordBase::$ITOA64 property core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Returns a string for mapping an int to the corresponding base 64 character.
PhpassHashedPasswordBase::base64Encode function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Encodes bytes into printable base 64 using the *nix standard from crypt().
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.

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