Search for pass

Classes

NameLocationDescription
PasswordHashingTestmodules/simpletest/tests/password.testUnit tests for password hashing API.
UserAuthmapAssignmentTestCasemodules/user/user.testUnit test for authmap assignment.
UserUpgradePathNoPasswordTokenTestCasemodules/simpletest/tests/upgrade/upgrade.user.testUpgrade test for user.module (password token not involved).
UserUpgradePathPasswordTokenTestCasemodules/simpletest/tests/upgrade/upgrade.user.testUpgrade test for user.module (password token involved).
UserValidateCurrentPassCustomFormmodules/user/user.testTests user_validate_current_pass on a custom form.

Constants

NameLocationDescription
PASS_THROUGHincludes/bootstrap.incFlag for drupal_set_title(); text has already been sanitized.

Files

NameLocationDescription
modules/simpletest/tests/upgrade/drupal-6.user-no-password-token.database.phpmodules/simpletest/tests/upgrade/drupal-6.user-no-password-token.database.php
modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.phpmodules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
includes/password.incincludes/password.incSecure password hashing functions for user authentication.
modules/simpletest/tests/password.testmodules/simpletest/tests/password.testProvides unit tests for password.inc.

Functions & methods

NameLocationDescription
DatabaseTasks::passincludes/install.incAssert test as a pass.
DrupalTestCase::passmodules/simpletest/drupal_web_test_case.phpFire an assertion that is always positive.
FormsTriggeringElementTestCase::testAttemptAccessControlBypassmodules/simpletest/tests/form.testTest that $form_state['triggering_element'] does not get set to a button with #access=FALSE.
form_process_password_confirmincludes/form.incExpand a password_confirm field into two text boxes.
form_type_password_confirm_valueincludes/form.incDetermines the value for a password_confirm form element.
OpenIDWebTestCase::getPasswordResetURLFromMailmodules/openid/openid.testParses the last sent e-mail and returns the one-time login link URL.
PasswordHashingTest::getInfomodules/simpletest/tests/password.test
PasswordHashingTest::setUpmodules/simpletest/tests/password.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
PasswordHashingTest::testPasswordHashingmodules/simpletest/tests/password.testTest password hashing.
password_confirm_validateincludes/form.incValidates a password_confirm element.
SearchQuery::executeFirstPassmodules/search/search.extender.incExecutes the first pass query.
theme_passwordincludes/form.incReturns HTML for a password form element.
UserAuthmapAssignmentTestCase::getInfomodules/user/user.test
UserAuthmapAssignmentTestCase::testAuthmapAssignmentmodules/user/user.testTest authmap assignment and retrieval.
UserLoginTestCase::testPasswordRehashOnLoginmodules/user/user.testTest that user password is re-hashed upon login after changing $count_log2.
UserUpgradePathNoPasswordTokenTestCase::getInfomodules/simpletest/tests/upgrade/upgrade.user.test
UserUpgradePathNoPasswordTokenTestCase::setUpmodules/simpletest/tests/upgrade/upgrade.user.testOverride of DrupalWebTestCase::setUp() specialized for upgrade testing.
UserUpgradePathNoPasswordTokenTestCase::testUserUpgrademodules/simpletest/tests/upgrade/upgrade.user.testTest a successful upgrade.
UserUpgradePathPasswordTokenTestCase::getInfomodules/simpletest/tests/upgrade/upgrade.user.test
UserUpgradePathPasswordTokenTestCase::setUpmodules/simpletest/tests/upgrade/upgrade.user.testOverride of DrupalWebTestCase::setUp() specialized for upgrade testing.
UserUpgradePathPasswordTokenTestCase::testUserUpgrademodules/simpletest/tests/upgrade/upgrade.user.testTest a successful upgrade.
UserValidateCurrentPassCustomForm::getInfomodules/user/user.test
UserValidateCurrentPassCustomForm::setUpmodules/user/user.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
UserValidateCurrentPassCustomForm::testUserValidateCurrentPassCustomFormmodules/user/user.testTests that user_validate_current_pass can be reused on a custom form.
user_check_passwordincludes/password.incCheck whether a plain text password matches a stored hashed password.
user_form_process_password_confirmmodules/user/user.moduleForm element process handler for client-side password validation.
user_form_test_current_passwordmodules/user/tests/user_form_test.moduleA test form for user_validate_current_pass().
user_form_test_current_password_submitmodules/user/tests/user_form_test.moduleSubmit function for the test form for user_validate_current_pass().
user_hash_passwordincludes/password.incHash a password using a secure hash.
user_passmodules/user/user.pages.incForm builder; Request a password reset.
user_passwordmodules/user/user.moduleGenerate a random alphanumeric password.
user_pass_rehashmodules/user/user.moduleCreates a unique hash value for use in time-dependent per-user URLs.
user_pass_resetmodules/user/user.pages.incMenu callback; process one time login link and redirects to the user page on success.
user_pass_reset_urlmodules/user/user.moduleGenerates a unique URL for a user to login and reset their password.
user_pass_submitmodules/user/user.pages.inc
user_pass_validatemodules/user/user.pages.inc
user_validate_current_passmodules/user/user.moduleForm validation handler for the current password on the user_account_form().
_password_base64_encodeincludes/password.incEncode bytes into printable base 64 using the *nix standard from crypt().
_password_cryptincludes/password.incHash a password using a secure stretched hash.
_password_enforce_log2_boundariesincludes/password.incEnsures that $count_log2 is within set bounds.