class AuthenticationCollector

A collector class for authentication providers.

Hierarchy

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Authentication!AuthenticationCollector.php/class/AuthenticationCollector/8.1.x