constant SamlauthEvents::USER_LINK in SAML Authentication 8.2
Same name and namespace in other branches
- 8.3 src/Event/SamlauthEvents.php \Drupal\samlauth\Event\SamlauthEvents::USER_LINK
- 4.x 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). It is only fired when no account is already linked and when no existing account can be found according to the module settings for basic required properties (username, email). The event listener method receives a Drupal\samlauth\Event\SamlAuthUserLinkEvent instance. If it finds an account to link, it should call the event's linkAccount() method.
See also
\Drupal\samlauth\Event\SamlAuthUserLinkEvent
File
- src/
Event/ SamlauthEvents.php, line 29
Class
- SamlauthEvents
- Defines events for the samlauth module.
Namespace
Drupal\samlauth\EventCode
const USER_LINK = 'samlauth.user_link';