public function SamlauthUserSyncEvent::__construct in SAML Authentication 8.2
Same name and namespace in other branches
- 8.3 src/Event/SamlauthUserSyncEvent.php \Drupal\samlauth\Event\SamlauthUserSyncEvent::__construct()
- 4.x src/Event/SamlauthUserSyncEvent.php \Drupal\samlauth\Event\SamlauthUserSyncEvent::__construct()
Constructs a samlauth user sync event object.
Parameters
\Drupal\user\UserInterface $account: The Drupal user account.
array $attributes: The SAML attributes received from the IDP.
File
- src/
Event/ SamlauthUserSyncEvent.php, line 44
Class
- SamlauthUserSyncEvent
- Wraps a samlauth user sync event for event listeners.
Namespace
Drupal\samlauth\EventCode
public function __construct(UserInterface $account, array $attributes) {
$this->account = $account;
$this->attributes = $attributes;
}