You are here

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

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

Constructs a samlouth user link event object.

Parameters

array $attributes: The SAML attributes received from the IdP.

File

src/Event/SamlauthUserLinkEvent.php, line 35

Class

SamlauthUserLinkEvent
Wraps a samlauth user link event for event listeners.

Namespace

Drupal\samlauth\Event

Code

public function __construct(array $attributes) {
  $this->attributes = $attributes;
}