function 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.