public function OpenIDConnectRedirectController::__construct in OpenID Connect / OAuth client 2.x
Same name and namespace in other branches
- 8 src/Controller/OpenIDConnectRedirectController.php \Drupal\openid_connect\Controller\OpenIDConnectRedirectController::__construct()
The constructor.
Parameters
\Drupal\openid_connect\OpenIDConnect $openid_connect: The OpenID Connect service.
\Drupal\openid_connect\OpenIDConnectStateTokenInterface $state_token: The OpenID state token service.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\Drupal\openid_connect\OpenIDConnectSessionInterface $session: The OpenID Connect session service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\externalauth\AuthmapInterface $authmap: The external authmap service.
\Drupal\Core\Session\AccountProxyInterface $current_user: Account proxy for the currently logged-in user.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
Controller/ OpenIDConnectRedirectController.php, line 135
Class
- OpenIDConnectRedirectController
- Redirect controller.
Namespace
Drupal\openid_connect\ControllerCode
public function __construct(OpenIDConnect $openid_connect, OpenIDConnectStateTokenInterface $state_token, RequestStack $request_stack, OpenIDConnectSessionInterface $session, ConfigFactoryInterface $config_factory, AuthmapInterface $authmap, AccountProxyInterface $current_user, ModuleHandlerInterface $module_handler, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager) {
$this->openIDConnect = $openid_connect;
$this->stateToken = $state_token;
$this->requestStack = $request_stack;
$this->session = $session;
$this->configFactory = $config_factory;
$this->authmap = $authmap;
$this->currentUser = $current_user;
$this->moduleHandler = $module_handler;
$this->languageManager = $language_manager;
$this->entityTypeManager = $entity_type_manager;
}