public function WindowsAad::__construct in OpenID Connect Microsoft Azure Active Directory client 2.0.x
The constructor.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin identifier.
mixed $plugin_definition: The plugin definition.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\GuzzleHttp\ClientInterface $http_client: The http client.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.
\Drupal\key\KeyRepositoryInterface $key_repository: The Key Repository interface.
Overrides OpenIDConnectClientBase::__construct
File
- src/
Plugin/ OpenIDConnectClient/ WindowsAad.php, line 54
Class
- WindowsAad
- Generic OpenID Connect client.
Namespace
Drupal\openid_connect_windows_aad\Plugin\OpenIDConnectClientCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RequestStack $request_stack, ClientInterface $http_client, LoggerChannelFactoryInterface $logger_factory, KeyRepositoryInterface $key_repository) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $request_stack, $http_client, $logger_factory);
$this->keyRepository = $key_repository;
}