public function BasicAuthSwap::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.2 src/HttpMiddleware/BasicAuthSwap.php \Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap::__construct()
- 8.3 src/HttpMiddleware/BasicAuthSwap.php \Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap::__construct()
- 5.x src/HttpMiddleware/BasicAuthSwap.php \Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap::__construct()
Constructs a BasicAuthSwap object.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel.
File
- src/
HttpMiddleware/ BasicAuthSwap.php, line 26
Class
- BasicAuthSwap
- Uses the basic auth information to provide the client credentials for OAuth2.
Namespace
Drupal\simple_oauth\HttpMiddlewareCode
public function __construct(HttpKernelInterface $http_kernel) {
$this->httpKernel = $http_kernel;
}