public function LdapSsoBootSubscriber::__construct in LDAP Single Sign On 8.4
Same name and namespace in other branches
- 8 src/LdapSsoBootSubscriber.php \Drupal\ldap_sso\LdapSsoBootSubscriber::__construct()
Fetches debugging level and logging interface.
Parameters
\Drupal\Core\Config\ConfigFactory $configFactory: Factory for configuration for LDAP and logging level.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: Request stack.
\Drupal\Core\Path\CurrentPathStack $currentPath: Adds the current path.
\Drupal\ldap_servers\Logger\LdapDetailLog $detailLog: LDAP detail log.
\Drupal\Core\Session\AccountInterface $account: The current user account.
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: Redirect destination.
File
- src/
LdapSsoBootSubscriber.php, line 102
Class
- LdapSsoBootSubscriber
- Provides the automated single sign-on provider.
Namespace
Drupal\ldap_ssoCode
public function __construct(ConfigFactory $configFactory, RequestStack $request_stack, CurrentPathStack $currentPath, LdapDetailLog $detailLog, AccountInterface $account, RedirectDestinationInterface $redirect_destination) {
$this->config = $configFactory
->get('ldap_sso.settings');
$this->frontpage = $configFactory
->get('system.site')
->get('frontpage');
$this->currentRequest = $request_stack
->getCurrentRequest();
$this->currentPath = $currentPath;
$this->detailLog = $detailLog;
$this->account = $account;
$this->redirectDestination = $redirect_destination;
}