public function AuthenticationManager::__construct

public AuthenticationManager::__construct(AuthenticationCollectorInterface $auth_collector)

Creates a new authentication manager instance.

Parameters

\Drupal\Core\Authentication\AuthenticationCollectorInterface $auth_collector: The authentication provider collector.

File

core/lib/Drupal/Core/Authentication/AuthenticationManager.php, line 33

Class

AuthenticationManager
Manager for authentication.

Namespace

Drupal\Core\Authentication

Code

public function __construct(AuthenticationCollectorInterface $auth_collector) {
  $this->authCollector = $auth_collector;
}

© 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!AuthenticationManager.php/function/AuthenticationManager::__construct/8.1.x