public function Oauth2AuthorizeController::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 5.x src/Controller/Oauth2AuthorizeController.php \Drupal\simple_oauth\Controller\Oauth2AuthorizeController::__construct()
Oauth2AuthorizeController construct.
Parameters
\Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface $message_factory: The PSR-7 converter.
\Drupal\simple_oauth\Plugin\Oauth2GrantManagerInterface $grant_manager: The plugin.manager.oauth2_grant.processor service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\simple_oauth\KnownClientsRepositoryInterface $known_clients_repository: The known client repository service.
File
- src/
Controller/ Oauth2AuthorizeController.php, line 69
Class
- Oauth2AuthorizeController
- Oauth2AuthorizeController.
Namespace
Drupal\simple_oauth\ControllerCode
public function __construct(HttpMessageFactoryInterface $message_factory, Oauth2GrantManagerInterface $grant_manager, ConfigFactoryInterface $config_factory, KnownClientsRepositoryInterface $known_clients_repository) {
$this->messageFactory = $message_factory;
$this->grantManager = $grant_manager;
$this->configFactory = $config_factory;
$this->knownClientRepository = $known_clients_repository;
}