public function CasPreLoginEvent::__construct in CAS 2.x
Same name and namespace in other branches
- 8 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\EventCode
public function __construct(UserInterface $account, CasPropertyBag $cas_property_bag) {
$this->account = $account;
$this->casPropertyBag = $cas_property_bag;
}