PasswordWidgetThemeFunctionTest |
class |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
Tests the JS components added to the PasswordConfirm render element. |
PasswordWidgetThemeFunctionTest.php |
file |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
|
PasswordWidgetThemeFunctionTest::$defaultTheme |
property |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
The theme to install as the default for testing. |
PasswordWidgetThemeFunctionTest::$failOnJavascriptConsoleErrors |
property |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
@todo Remove this class property in https://www.drupal.org/node/3217947. |
PasswordWidgetThemeFunctionTest::$modules |
property |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
Modules to enable. |
PasswordWidgetThemeFunctionTest::$testUser |
property |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
User for testing. |
PasswordWidgetThemeFunctionTest::setUp |
function |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
|
PasswordWidgetThemeFunctionTest::testPasswordConfirmWidgetJsComponents |
function |
core/modules/user/tests/src/FunctionalJavascript/PasswordWidgetThemeFunctionTest.php |
Tests password widget theme functions and its deprecations. |
password_generator |
service |
core/core.services.yml |
Drupal\Core\Password\DefaultPasswordGenerator |
password_theme_function_test.info.yml |
file |
core/modules/user/tests/themes/password_theme_function_test/password_theme_function_test.info.yml |
core/modules/user/tests/themes/password_theme_function_test/password_theme_function_test.info.yml |
password_theme_function_test.libraries.yml |
file |
core/modules/user/tests/themes/password_theme_function_test/password_theme_function_test.libraries.yml |
core/modules/user/tests/themes/password_theme_function_test/password_theme_function_test.libraries.yml |
PhpassHashedPassword |
class |
core/lib/Drupal/Core/Password/PhpassHashedPassword.php |
Secure hashing functions based on 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 |
Password stretching iteration count. |
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. |
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 enable. |
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. |
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 & new password hash. |
UserAuthTest::testAuthenticateWithIncorrectPassword |
function |
core/modules/user/tests/src/Unit/UserAuthTest.php |
Tests the authenticate method with an incorrect password. |