You are here

public function ForceLoginController::__construct in CAS 8

Same name and namespace in other branches
  1. 2.x src/Controller/ForceLoginController.php \Drupal\cas\Controller\ForceLoginController::__construct()

Constructor.

Parameters

\Drupal\cas\Service\CasRedirector $cas_redirector: The CAS Redirector service.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: Symfony request stack.

File

src/Controller/ForceLoginController.php, line 40

Class

ForceLoginController
Class ForceLoginController.

Namespace

Drupal\cas\Controller

Code

public function __construct(CasRedirector $cas_redirector, RequestStack $request_stack) {
  $this->casRedirector = $cas_redirector;
  $this->requestStack = $request_stack;
}