class Auth0UserPreLoginEvent in Auth0 Single Sign On 8.2
User prelogin event.
Hierarchy
- class \Drupal\auth0\Event\Auth0UserPreLoginEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of Auth0UserPreLoginEvent
1 file declares its use of Auth0UserPreLoginEvent
- AuthController.php in src/
Controller/ AuthController.php - Contains \Drupal\auth0\Controller\AuthController.
File
- src/
Event/ Auth0UserPreLoginEvent.php, line 10
Namespace
Drupal\auth0\EventView source
class Auth0UserPreLoginEvent extends Event {
/**
* The event name.
*/
const NAME = 'auth0.prelogin';
/**
* The Auth0 profile.
*
* @var array
*/
protected $auth0Profile;
/**
* Initialize the event.
*
* @param array $auth0Profile
* The Auth0 profile array.
*/
public function __construct(array $auth0Profile) {
$this->auth0Profile = $auth0Profile;
}
/**
* Get the Auth0 profile.
*
* @return array
* The Auth0 profile.
*/
public function getAuth0Profile() {
return $this->auth0Profile;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Auth0UserPreLoginEvent:: |
protected | property | The Auth0 profile. | |
Auth0UserPreLoginEvent:: |
public | function | Get the Auth0 profile. | |
Auth0UserPreLoginEvent:: |
constant | The event name. | ||
Auth0UserPreLoginEvent:: |
public | function | Initialize the event. |