You are here

public function CasPostLoginEvent::__construct in CAS 8

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

Constructor.

Parameters

\Drupal\user\UserInterface $account: The drupal user entity about to be logged in.

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

File

src/Event/CasPostLoginEvent.php, line 41

Class

CasPostLoginEvent
Class CasPostLoginEvent.

Namespace

Drupal\cas\Event

Code

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