You are here

public function CasPreLoginEvent::__construct in CAS 8

Same name and namespace in other branches
  1. 2.x src/Event/CasPreLoginEvent.php \Drupal\cas\Event\CasPreLoginEvent::__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/CasPreLoginEvent.php, line 64

Class

CasPreLoginEvent
Class CasPreLoginEvent.

Namespace

Drupal\cas\Event

Code

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