constant SamlauthEvents::USER_LINK in SAML Authentication 4.x
Same name and namespace in other branches
- 8.3 src/Event/SamlauthEvents.php \Drupal\samlauth\Event\SamlauthEvents::USER_LINK
- 8.2 src/Event/SamlauthEvents.php \Drupal\samlauth\Event\SamlauthEvents::USER_LINK
Name of the event fired when searching for a user to match SAML attributes.
The event allows modules to link existing user accounts to an authname through the externalauth mechanism (see externalauth module). The event listener method receives a Drupal\samlauth\Event\SamlauthUserLinkEvent instance. If it finds an account to link, it should call the event's setLinkedAccount() method.
See also
\Drupal\samlauth\Event\SamlauthUserLinkEvent
File
- src/
Event/ SamlauthEvents.php, line 27
Class
- SamlauthEvents
- Defines events for the samlauth module.
Namespace
Drupal\samlauth\EventCode
const USER_LINK = 'samlauth.user_link';