final class SocialAuthEvents in Social Auth 8
Same name and namespace in other branches
- 8.2 src/Event/SocialAuthEvents.php \Drupal\social_auth\Event\SocialAuthEvents
- 3.x src/Event/SocialAuthEvents.php \Drupal\social_auth\Event\SocialAuthEvents
Defines Social Auth Events constants.
Hierarchy
- class \Drupal\social_auth\Event\SocialAuthEvents
Expanded class hierarchy of SocialAuthEvents
1 file declares its use of SocialAuthEvents
File
- src/
Event/ SocialAuthEvents.php, line 8
Namespace
Drupal\social_auth\EventView source
final class SocialAuthEvents {
/**
* Name of the event fired when social auth is gathering user fields.
*
* Fired before a new user is created when gathering fields.
*
* @Event
*
* @see \Drupal\social_auth\Event\SocialAuthUserFieldsEvent
*
* @var string
*/
const USER_FIELDS = 'social_auth.user.fields';
/**
* Name of the event fired when a new user is created via social auth.
*
* Fired after a new user account has been created.
*
* @Event
*
* @see \Drupal\social_auth\Event\SocialAuthUserEvent
*
* @var string
*/
const USER_CREATED = 'social_auth.user.created';
/**
* Name of the event fired when a new user login using social auth.
*
* Fired after a user has logged in.
*
* @Event
*
* @see \Drupal\social_auth\Event\SocialAuthUserEvent
*
* @var string
*/
const USER_LOGIN = 'social_auth.user.login';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SocialAuthEvents:: |
constant | Name of the event fired when a new user is created via social auth. | ||
SocialAuthEvents:: |
constant | Name of the event fired when social auth is gathering user fields. | ||
SocialAuthEvents:: |
constant | Name of the event fired when a new user login using social auth. |