You are here

public function CasPreUserLoadRedirectEvent::__construct in CAS 8

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

Constructs a new event instance.

Parameters

string $ticket: The CAS authentication ticket.

\Drupal\cas\CasPropertyBag $property_bag: The CasPropertyBag of the current login cycle.

array $service_parameters: The CAS service parameters.

File

src/Event/CasPreUserLoadRedirectEvent.php, line 72

Class

CasPreUserLoadRedirectEvent
Allows third-party code to inject user interaction into the flow.

Namespace

Drupal\cas\Event

Code

public function __construct($ticket, CasPropertyBag $property_bag, array $service_parameters) {
  $this->ticket = $ticket;
  $this->propertyBag = $property_bag;
  $this->serviceParameters = $service_parameters;
}