You are here

public function SamlauthUserLinkEvent::getLinkedAccount in SAML Authentication 8.3

Same name and namespace in other branches
  1. 8.2 src/Event/SamlauthUserLinkEvent.php \Drupal\samlauth\Event\SamlauthUserLinkEvent::getLinkedAccount()
  2. 4.x 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;
}