function AuthenticationManager::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Authentication/AuthenticationManager.php \Drupal\Core\Authentication\AuthenticationManager::__construct()
- 8.9.x core/lib/Drupal/Core/Authentication/AuthenticationManager.php \Drupal\Core\Authentication\AuthenticationManager::__construct()
- 10 core/lib/Drupal/Core/Authentication/AuthenticationManager.php \Drupal\Core\Authentication\AuthenticationManager::__construct()
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\AuthenticationCode
public function __construct(AuthenticationCollectorInterface $auth_collector) {
$this->authCollector = $auth_collector;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.