You are here

public function CasPreLoginEvent::getAccount in CAS 2.x

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

Return the user account entity.

Return value

\Drupal\user\UserInterface The user account entity.

File

src/Event/CasPreLoginEvent.php, line 85

Class

CasPreLoginEvent
Class CasPreLoginEvent.

Namespace

Drupal\cas\Event

Code

public function getAccount() {
  return $this->account;
}