public function SimplesamlExternalauthSubscriber::__construct in simpleSAMLphp Authentication 8.3
Parameters
\Drupal\simplesamlphp_auth\Service\SimplesamlphpAuthManager $simplesaml: The SimpleSAML Authentication helper service.
\Drupal\simplesamlphp_auth\Service\SimplesamlphpDrupalAuth $simplesaml_drupalauth: The SimpleSAML Drupal Authentication service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Psr\Log\LoggerInterface $logger: A logger instance.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
File
- src/
EventSubscriber/ SimplesamlExternalauthSubscriber.php, line 69
Class
- SimplesamlExternalauthSubscriber
- Event subscriber subscribing to ExternalAuthEvents.
Namespace
Drupal\simplesamlphp_auth\EventSubscriberCode
public function __construct(SimplesamlphpAuthManager $simplesaml, SimplesamlphpDrupalAuth $simplesaml_drupalauth, ConfigFactoryInterface $config_factory, LoggerInterface $logger, ModuleHandlerInterface $module_handler) {
$this->simplesaml = $simplesaml;
$this->simplesamlDrupalauth = $simplesaml_drupalauth;
$this->config = $config_factory
->get('simplesamlphp_auth.settings');
$this->logger = $logger;
$this->moduleHandler = $module_handler;
}