final class SocialAuthEvents in Social Auth 8.2
Same name and namespace in other branches
- 8 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
2 files declare their use of SocialAuthEvents
- UserAuthenticator.php in src/
User/ UserAuthenticator.php - UserManager.php in src/
User/ UserManager.php
File
- src/
Event/ SocialAuthEvents.php, line 8
Namespace
Drupal\social_auth\EventView source
final class SocialAuthEvents {
/**
* Dispatched event when social auth is gathering user fields.
*
* @Event
*
* @see \Drupal\social_auth\Event\UserFieldsEvent
*
* @var string
*/
const USER_FIELDS = 'social_auth.user.fields';
/**
* Dispatched event when a new user is created via social auth.
*
* @Event
*
* @see \Drupal\social_auth\Event\UserEvent
*
* @var string
*/
const USER_CREATED = 'social_auth.user.created';
/**
* Dispatched event when a new user login using social auth.
*
* @Event
*
* @see \Drupal\social_auth\Event\UserEvent
*
* @var string
*/
const USER_LOGIN = 'social_auth.user.login';
/**
* Dispatched event before redirecting to provider.
*
* @Event
*
* @see \Drupal\social_auth\Event\BeforeRedirectEvent
*
* @var string
*/
const BEFORE_REDIRECT = 'social_auth.before_redirect';
/**
* Dispatched event after authentication fails in provider.
*
* @Event
*
* @see \Drupal\social_auth\Event\FailedAuthenticationEvent
*
* @var string
*/
const FAILED_AUTH = 'social_auth.failed_authentication';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SocialAuthEvents:: |
constant | Dispatched event before redirecting to provider. | ||
SocialAuthEvents:: |
constant | Dispatched event after authentication fails in provider. | ||
SocialAuthEvents:: |
constant | Dispatched event when a new user is created via social auth. | ||
SocialAuthEvents:: |
constant | Dispatched event when social auth is gathering user fields. | ||
SocialAuthEvents:: |
constant | Dispatched event when a new user login using social auth. |