Search for authenticate

  1. Search 7.x for authenticate
  2. Search 9.5.x for authenticate
  3. Search 8.9.x for authenticate
  4. Search 10.3.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.
AssetAggregationAcrossPagesTest::testFrontAndRecipesPagesAuthenticated function core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php Checks the asset requests made when the front and recipe pages are visited.
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.
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.
OpenTelemetryAuthenticatedPerformanceTest class core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php Tests demo_umami profile performance.
OpenTelemetryAuthenticatedPerformanceTest.php file core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php
OpenTelemetryAuthenticatedPerformanceTest::$profile property core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php The profile to install as a basis for testing.
OpenTelemetryAuthenticatedPerformanceTest::setUp function core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php
OpenTelemetryAuthenticatedPerformanceTest::testFrontPageAuthenticatedWarmCache function core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php Logs front page tracing data with an authenticated user and warm cache.
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/tests/fixtures/config_install/testing_config_install/user.role.authenticated.yml core/tests/fixtures/config_install/testing_config_install/user.role.authenticated.yml
user.role.authenticated.yml file core/tests/fixtures/config_install/multilingual/user.role.authenticated.yml core/tests/fixtures/config_install/multilingual/user.role.authenticated.yml
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/tests/fixtures/config_install/multilingual/language/es/user.role.authenticated.yml core/tests/fixtures/config_install/multilingual/language/es/user.role.authenticated.yml
user.role.authenticated.yml file core/profiles/tests/testing_config_overrides/config/install/user.role.authenticated.yml core/profiles/tests/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/standard/config/install/user.role.authenticated.yml core/profiles/standard/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::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
UserAuthDecorator::authenticate function core/modules/user/tests/modules/user_auth_decorator_test/src/UserAuthDecorator.php
UserAuthentication::authenticate function core/modules/user/src/UserAuthentication.php
UserAuthentication::authenticateAccount function core/modules/user/src/UserAuthentication.php Validates user authentication credentials for an account.
UserAuthenticationInterface::authenticateAccount function core/modules/user/src/UserAuthenticationInterface.php Validates user authentication credentials for an account.
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 & 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.

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