You are here

public function SamlauthUserLinkEvent::getLinkedAccount in SAML Authentication 4.x

Same name and namespace in other branches
  1. 8.3 src/Event/SamlauthUserLinkEvent.php \Drupal\samlauth\Event\SamlauthUserLinkEvent::getLinkedAccount()
  2. 8.2 src/Event/SamlauthUserLinkEvent.php \Drupal\samlauth\Event\SamlauthUserLinkEvent::getLinkedAccount()

Gets the Drupal user account to link.

Return value

\Drupal\user\UserInterface|null The Drupal user account.

File

src/Event/SamlauthUserLinkEvent.php, line 45

Class

SamlauthUserLinkEvent
Wraps a samlauth user link event for event listeners.

Namespace

Drupal\samlauth\Event

Code

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