You are here

public function CasPostValidateEvent::__construct in CAS 2.x

Same name and namespace in other branches
  1. 8 src/Event/CasPostValidateEvent.php \Drupal\cas\Event\CasPostValidateEvent::__construct()

CasPostValidateEvent constructor.

Parameters

string $response_data: The raw validation response data from CAS server.

\Drupal\cas\CasPropertyBag $cas_property_bag: The bag of properties extracted from the response after the validation.

File

src/Event/CasPostValidateEvent.php, line 42

Class

CasPostValidateEvent
Event fired after CAS validation happens.

Namespace

Drupal\cas\Event

Code

public function __construct($response_data, CasPropertyBag $cas_property_bag) {
  $this->responseData = $response_data;
  $this->casPropertyBag = $cas_property_bag;
}