You are here

public function SamlauthUserLinkEvent::__construct in SAML Authentication 8.2

Same name and namespace in other branches
  1. 8.3 src/Event/SamlauthUserLinkEvent.php \Drupal\samlauth\Event\SamlauthUserLinkEvent::__construct()
  2. 4.x 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 sync event for event listeners.

Namespace

Drupal\samlauth\Event

Code

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