You are here

public function LTIToolProvider::__construct in LTI Tool Provider 2.x

Same name and namespace in other branches
  1. 8 src/Authentication/Provider/LTIToolProvider.php \Drupal\lti_tool_provider\Authentication\Provider\LTIToolProvider::__construct()

Constructs a HTTP basic authentication provider object.

Parameters

ConfigFactoryInterface $config_factory: The configuration factory.

EntityTypeManagerInterface $entity_type_manager: The entity manager.

LoggerChannelFactoryInterface $logger_factory: A logger instance.

EventDispatcherInterface $eventDispatcher: The event dispatcher.

File

src/Authentication/Provider/LTIToolProvider.php, line 92

Class

LTIToolProvider
Oauth authentication provider for LTI Tool Provider.

Namespace

Drupal\lti_tool_provider\Authentication\Provider

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_factory, EventDispatcherInterface $eventDispatcher) {
  $this->configFactory = $config_factory;
  $this->entityTypeManager = $entity_type_manager;
  $this->loggerFactory = $logger_factory
    ->get('lti_tool_provider');
  $this->eventDispatcher = $eventDispatcher;
}