You are here

public function CasUserManager::__construct in CAS 2.x

Same name and namespace in other branches
  1. 8 src/Service/CasUserManager.php \Drupal\cas\Service\CasUserManager::__construct()

CasUserManager constructor.

Parameters

\Drupal\externalauth\ExternalAuthInterface $external_auth: The external auth interface.

\Drupal\externalauth\AuthmapInterface $authmap: The authmap interface.

\Drupal\Core\Config\ConfigFactoryInterface $settings: The settings.

\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session.

\Drupal\Core\Database\Connection $database_connection: The database connection.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

\Drupal\cas\Service\CasHelper $cas_helper: The CAS helper.

\Drupal\cas\Service\CasProxyHelper $cas_proxy_helper: The CAS Proxy helper.

File

src/Service/CasUserManager.php, line 123

Class

CasUserManager
Provides the 'cas.user_manager' service default implementation.

Namespace

Drupal\cas\Service

Code

public function __construct(ExternalAuthInterface $external_auth, AuthmapInterface $authmap, ConfigFactoryInterface $settings, SessionInterface $session, Connection $database_connection, EventDispatcherInterface $event_dispatcher, CasHelper $cas_helper, CasProxyHelper $cas_proxy_helper) {
  $this->externalAuth = $external_auth;
  $this->authmap = $authmap;
  $this->settings = $settings;
  $this->session = $session;
  $this->connection = $database_connection;
  $this->eventDispatcher = $event_dispatcher;
  $this->casHelper = $cas_helper;
  $this->casProxyHelper = $cas_proxy_helper;
}