Search for authenticate

  1. Search 7.x for authenticate
  2. Search 9.5.x for authenticate
  3. Search 10.3.x for authenticate
  4. Search 11.x for authenticate
  5. Other projects
Title Object type File name Summary
AccountInterface::AUTHENTICATED_ROLE constant core/lib/Drupal/Core/Session/AccountInterface.php Role ID for authenticated users.
AccountInterface::isAuthenticated function core/lib/Drupal/Core/Session/AccountInterface.php Returns TRUE if the account is authenticated.
AccountProxy::isAuthenticated function core/lib/Drupal/Core/Session/AccountProxy.php Returns TRUE if the account is authenticated.
Auth::authenticate function core/modules/locale/tests/modules/early_translation_test/src/Auth.php Authenticates the user.
AuthenticationManager::authenticate function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Authenticates the user.
AuthenticationProviderInterface::authenticate function core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php Authenticates the user.
AuthenticationSubscriber::onKernelRequestAuthenticate function core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php Authenticates user on request.
BasicAuth::authenticate function core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php Authenticates the user.
CommentManager::$authenticatedCanPostComments property core/modules/comment/src/CommentManager.php Whether the \Drupal\user\RoleInterface::AUTHENTICATED_ID can post comments.
ConditionTestDualUserTest::$authenticated property core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php An authenticated user for testing purposes.
ContextualDynamicContextTest::$authenticatedUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php An authenticated user with permission to access contextual links.
Cookie::authenticate function core/modules/user/src/Authentication/Provider/Cookie.php Authenticates the user.
DRUPAL_AUTHENTICATED_RID constant core/includes/bootstrap.inc Role ID for authenticated users; should match what's in the "role" table.
FileFieldAnonymousSubmissionTest::testAuthenticatedNodeWithFileWithoutTitle function core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php Tests file submission for an authenticated user with a missing node title.
LanguageSwitchingTest::doTestLanguageBlockAuthenticated function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php For authenticated users, the "active" class is set by JavaScript.
LanguageSwitchingTest::doTestLanguageLinkActiveClassAuthenticated function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php For authenticated users, the "active" class is set by JavaScript.
MailHandlerTest::getAuthenticatedMockMessage function core/modules/contact/tests/src/Unit/MailHandlerTest.php Builds a mock message from authenticated user.
MenuUiTest::$authenticatedUser property core/modules/menu_ui/tests/src/Functional/MenuUiTest.php An authenticated user.
ResourceTestBase::grantPermissionsToAuthenticatedRole function core/modules/rest/tests/src/Functional/ResourceTestBase.php Grants permissions to the authenticated role.
RoleInterface::AUTHENTICATED_ID constant core/modules/user/src/RoleInterface.php Role ID for authenticated users; should match the 'role' entity ID.
TestAuth::authenticate function core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuth.php Authenticates the user.
TestAuthenticationProvider::authenticate function core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php Authenticates the user.
TestAuthGlobal::authenticate function core/modules/rest/tests/modules/rest_test/src/Authentication/Provider/TestAuthGlobal.php Authenticates the user.
user.role.authenticated.yml file core/profiles/testing_config_overrides/config/install/user.role.authenticated.yml core/profiles/testing_config_overrides/config/install/user.role.authenticated.yml
user.role.authenticated.yml file core/modules/user/config/install/user.role.authenticated.yml core/modules/user/config/install/user.role.authenticated.yml
user.role.authenticated.yml file core/profiles/demo_umami/config/install/user.role.authenticated.yml core/profiles/demo_umami/config/install/user.role.authenticated.yml
user.role.authenticated.yml file core/profiles/standard/config/install/user.role.authenticated.yml core/profiles/standard/config/install/user.role.authenticated.yml
User::isAuthenticated function core/modules/user/src/Entity/User.php Returns TRUE if the account is authenticated.
UserAuth::authenticate function core/modules/user/src/UserAuth.php Validates user authentication credentials.
UserAuthInterface::authenticate function core/modules/user/src/UserAuthInterface.php Validates user authentication credentials.
UserAuthTest::providerTestAuthenticateWithMissingCredentials function core/modules/user/tests/src/Unit/UserAuthTest.php Data provider for testAuthenticateWithMissingCredentials().
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::testAuthenticateWithMissingCredentials function core/modules/user/tests/src/Unit/UserAuthTest.php Tests failing authentication with missing credential parameters.
UserAuthTest::testAuthenticateWithNoAccountReturned function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with no account returned.
UserAuthTest::testAuthenticateWithZeroPassword function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password.
UserRoleConditionTest::$authenticated property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php An authenticated user for testing purposes.
UserSession::isAuthenticated function core/lib/Drupal/Core/Session/UserSession.php Returns TRUE if the account is authenticated.

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