You are here

public function SamlauthUserSyncEvent::getAccount in SAML Authentication 8.3

Same name and namespace in other branches
  1. 8.2 src/Event/SamlauthUserSyncEvent.php \Drupal\samlauth\Event\SamlauthUserSyncEvent::getAccount()
  2. 4.x src/Event/SamlauthUserSyncEvent.php \Drupal\samlauth\Event\SamlauthUserSyncEvent::getAccount()

Gets the Drupal user entity.

Return value

\Drupal\user\UserInterface The Drupal user account.

File

src/Event/SamlauthUserSyncEvent.php, line 65

Class

SamlauthUserSyncEvent
Wraps a samlauth user sync event for event listeners.

Namespace

Drupal\samlauth\Event

Code

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