AuthenticationManager::$authCollector

The authentication provider collector. Type: \Drupal\Core\Authentication\AuthenticationCollectorInterface File core/lib/Drupal/Core/Authentication/AuthenticationManager.php, line 25 Class AuthenticationManager Manager for authentication. Namespace Drupal\Core\Authentication Code protected $authCollector;

AuthenticationCollectorInterface::isGlobal

public AuthenticationCollectorInterface::isGlobal($provider_id) Returns whether a provider is considered global. Parameters string $provider_id: The provider ID. Return value bool TRUE if the provider is global, FALSE otherwise. See also \Drupal\Core\Authentication\AuthenticationCollectorInterface::addProvider File core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php, line 36 Class AuthenticationCollectorInterface Interface for collectors of registered authentication

AuthenticationCollectorInterface

Interface for collectors of registered authentication providers. Hierarchy interface \Drupal\Core\Authentication\AuthenticationCollectorInterface File core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php, line 8 Namespace Drupal\Core\Authentication Members Name Modifiers Type Description AuthenticationCollectorInterface::addProvider public function Adds a provider to the array of registered providers. AuthenticationCollectorInterface::getProvider

AuthenticationCollector::getSortedProviders

public AuthenticationCollector::getSortedProviders() Returns the sorted array of authentication providers. Return value \Drupal\Core\Authentication\AuthenticationProviderInterface[] An array of authentication provider objects. Overrides AuthenticationCollectorInterface::getSortedProviders File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 69 Class AuthenticationCollector A collector class for authentication providers. Namespace Drupal\Core\Authentication Code p

AuthenticationCollector::addProvider

public AuthenticationCollector::addProvider(AuthenticationProviderInterface $provider, $provider_id, $priority = 0, $global = FALSE) Adds a provider to the array of registered providers. Parameters \Drupal\Core\Authentication\AuthenticationProviderInterface $provider: The provider object. string $provider_id: Identifier of the provider. int $priority: (optional) The provider's priority. bool $global: (optional) TRUE if the provider is to be applied globally on all routes. Defaults to FALSE. Ov

AuthenticationCollector::isGlobal

public AuthenticationCollector::isGlobal($provider_id) Returns whether a provider is considered global. Parameters string $provider_id: The provider ID. Return value bool TRUE if the provider is global, FALSE otherwise. Overrides AuthenticationCollectorInterface::isGlobal See also \Drupal\Core\Authentication\AuthenticationCollectorInterface::addProvider File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 55 Class AuthenticationCollector A collector class for authe

AuthenticationCollector::getProvider

public AuthenticationCollector::getProvider($provider_id) Returns an authentication provider. Parameters string $provider_id: The provider ID. Return value \Drupal\Core\Authentication\AuthenticationProviderInterface|null The authentication provider which matches the ID. Overrides AuthenticationCollectorInterface::getProvider File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 62 Class AuthenticationCollector A collector class for authentication providers. Namespa

AuthenticationCollectorInterface::addProvider

public AuthenticationCollectorInterface::addProvider(AuthenticationProviderInterface $provider, $provider_id, $priority = 0, $global = FALSE) Adds a provider to the array of registered providers. Parameters \Drupal\Core\Authentication\AuthenticationProviderInterface $provider: The provider object. string $provider_id: Identifier of the provider. int $priority: (optional) The provider's priority. bool $global: (optional) TRUE if the provider is to be applied globally on all routes. Defaults to

AuthenticationCollector::$providerOrders

Array of all providers and their priority. Type: array File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 22 Class AuthenticationCollector A collector class for authentication providers. Namespace Drupal\Core\Authentication Code protected $providerOrders = [];

AuthenticationCollector

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::$prov