A collector class for authentication providers.
Hierarchy
- class \Drupal\Core\Authentication\AuthenticationCollector implements AuthenticationCollectorInterface
 
File
- core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 8
 
Namespace
Drupal\Core\Authentication
Members
| Name | Modifiers | Type | Description | 
|---|---|---|---|
| AuthenticationCollector::$globalProviders | protected | property | List of providers which are allowed on routes with no _auth option. | 
| AuthenticationCollector::$providerOrders | protected | property | Array of all providers and their priority. | 
| AuthenticationCollector::$providers | protected | property | Array of all registered authentication providers, keyed by ID. | 
| AuthenticationCollector::$sortedProviders | protected | property | Sorted list of registered providers. | 
| AuthenticationCollector::addProvider | public | function | Adds a provider to the array of registered providers. Overrides AuthenticationCollectorInterface::addProvider | 
| AuthenticationCollector::getProvider | public | function | Returns an authentication provider. Overrides AuthenticationCollectorInterface::getProvider | 
| AuthenticationCollector::getSortedProviders | public | function | Returns the sorted array of authentication providers. Overrides AuthenticationCollectorInterface::getSortedProviders | 
| AuthenticationCollector::isGlobal | public | function | Returns whether a provider is considered global. Overrides AuthenticationCollectorInterface::isGlobal | 
Please login to continue.