public static function UserFieldsEventSubscriber::getSubscribedEvents in SAML Authentication 8.3
Same name and namespace in other branches
- 4.x modules/samlauth_user_fields/src/EventSubscriber/UserFieldsEventSubscriber.php \Drupal\samlauth_user_fields\EventSubscriber\UserFieldsEventSubscriber::getSubscribedEvents()
File
- modules/
samlauth_user_fields/ src/ EventSubscriber/ UserFieldsEventSubscriber.php, line 83
Class
- UserFieldsEventSubscriber
- Synchronizes SAML attributes into user fields / links new users during login.
Namespace
Drupal\samlauth_user_fields\EventSubscriberCode
public static function getSubscribedEvents() {
$events[SamlauthEvents::USER_LINK][] = [
'onUserLink',
];
$events[SamlauthEvents::USER_SYNC][] = [
'onUserSync',
];
return $events;
}