SocialAuthEvents.php in Social Auth 3.x
Same filename and directory in other branches
Namespace
Drupal\social_auth\EventFile
src/Event/SocialAuthEvents.phpView source
<?php
namespace Drupal\social_auth\Event;
/**
* Defines Social Auth Events constants.
*/
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';
}
Classes
Name | Description |
---|---|
SocialAuthEvents | Defines Social Auth Events constants. |