Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
AuthenticationCollector class core/lib/Drupal/Core/Authentication/AuthenticationCollector.php A collector class for authentication providers.
AuthenticationCollector.php file core/lib/Drupal/Core/Authentication/AuthenticationCollector.php
AuthenticationCollector::$globalProviders property core/lib/Drupal/Core/Authentication/AuthenticationCollector.php List of providers which are allowed on routes with no _auth option.
AuthenticationCollector::$providerOrders property core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Array of all providers and their priority.
AuthenticationCollector::$providers property core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Array of all registered authentication providers, keyed by ID.
AuthenticationCollector::$sortedProviders property core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Sorted list of registered providers.
AuthenticationCollector::addProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Adds a provider to the array of registered providers.
AuthenticationCollector::getProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Returns an authentication provider.
AuthenticationCollector::getSortedProviders function core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Returns the sorted array of authentication providers.
AuthenticationCollector::isGlobal function core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Returns whether a provider is considered global.
AuthenticationCollectorInterface interface core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Interface for collectors of registered authentication providers.
AuthenticationCollectorInterface.php file core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php
AuthenticationCollectorInterface::addProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Adds a provider to the array of registered providers.
AuthenticationCollectorInterface::getProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Returns an authentication provider.
AuthenticationCollectorInterface::getSortedProviders function core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Returns the sorted array of authentication providers.
AuthenticationCollectorInterface::isGlobal function core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Returns whether a provider is considered global.
AuthenticationCollectorTest class core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php @coversDefaultClass \Drupal\Core\Authentication\AuthenticationCollector
@group Authentication
AuthenticationCollectorTest.php file core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php
AuthenticationCollectorTest::testAuthenticationCollector function core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php Tests adding, getting, and order of priorities.
AuthenticationManager class core/lib/Drupal/Core/Authentication/AuthenticationManager.php Manager for authentication.
AuthenticationManager.php file core/lib/Drupal/Core/Authentication/AuthenticationManager.php
AuthenticationManager::$authCollector property core/lib/Drupal/Core/Authentication/AuthenticationManager.php The authentication provider collector.
AuthenticationManager::applies function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Checks whether suitable authentication credentials are on the request.
AuthenticationManager::appliesToRoutedRequest function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Checks whether the authentication method is allowed on a given route.
AuthenticationManager::applyFilter function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Checks whether a provider is allowed on the given request.
AuthenticationManager::authenticate function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Authenticates the user.
AuthenticationManager::challengeException function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Constructs an exception which is used to generate the challenge.
AuthenticationManager::defaultFilter function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Default implementation of the provider filter.
AuthenticationManager::getChallenger function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Returns the ID of the challenge provider for a request.
AuthenticationManager::getProvider function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Returns the id of the authentication provider for a request.
AuthenticationManager::__construct function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Creates a new authentication manager instance.
AuthenticationManagerTest class core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php @coversDefaultClass \Drupal\Core\Authentication\AuthenticationManager
@group Authentication
AuthenticationManagerTest.php file core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php
AuthenticationManagerTest::providerTestDefaultFilter function core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php Provides data to self::testDefaultFilter().
AuthenticationManagerTest::testApplyFilterWithFilterProvider function core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php @covers ::applyFilter
AuthenticationManagerTest::testDefaultFilter function core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php @covers ::defaultFilter
@covers ::applyFilter
AuthenticationProviderChallengeInterface interface core/lib/Drupal/Core/Authentication/AuthenticationProviderChallengeInterface.php Generate a challenge when access is denied for unauthenticated users.
AuthenticationProviderChallengeInterface.php file core/lib/Drupal/Core/Authentication/AuthenticationProviderChallengeInterface.php
AuthenticationProviderChallengeInterface::challengeException function core/lib/Drupal/Core/Authentication/AuthenticationProviderChallengeInterface.php Constructs an exception which is used to generate the challenge.
AuthenticationProviderFilterInterface interface core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php Restrict authentication methods to a subset of the site.
AuthenticationProviderFilterInterface.php file core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php
AuthenticationProviderFilterInterface::appliesToRoutedRequest function core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php Checks whether the authentication method is allowed on a given route.
AuthenticationProviderInterface interface core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php Interface for authentication providers.
AuthenticationProviderInterface.php file core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php
AuthenticationProviderInterface::applies function core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php Checks whether suitable authentication credentials are on the request.
AuthenticationProviderInterface::authenticate function core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php Authenticates the user.
AuthenticationProviderPass class core/lib/Drupal/Core/DependencyInjection/Compiler/AuthenticationProviderPass.php Registers the authentication_providers container parameter.
AuthenticationProviderPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/AuthenticationProviderPass.php
AuthenticationProviderPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/AuthenticationProviderPass.php
AuthenticationProviderPassTest class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php @coversDefaultClass \Drupal\Core\DependencyInjection\Compiler\AuthenticationProviderPass
@group DependencyInjection

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