public function Oauth2AuthorizeController::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.3
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\Form\FormBuilderInterface $form_builder: The form builder.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\simple_oauth\KnownClientsRepositoryInterface $known_clients_repository: The known client repository service.
File
- simple_oauth_extras/
src/ Controller/ Oauth2AuthorizeController.php, line 84
Class
- Oauth2AuthorizeController
- Oauth2AuthorizeController.
Namespace
Drupal\simple_oauth_extras\ControllerCode
public function __construct(HttpMessageFactoryInterface $message_factory, Oauth2GrantManagerInterface $grant_manager, FormBuilderInterface $form_builder, MessengerInterface $messenger, ConfigFactoryInterface $config_factory, KnownClientsRepositoryInterface $known_clients_repository) {
$this->messageFactory = $message_factory;
$this->grantManager = $grant_manager;
$this->formBuilder = $form_builder;
$this->messenger = $messenger;
$this->configFactory = $config_factory;
$this->knownClientRepository = $known_clients_repository;
}