public function FailedAuthenticationEvent::__construct in Social Auth 8.2
Same name and namespace in other branches
- 3.x src/Event/FailedAuthenticationEvent.php \Drupal\social_auth\Event\FailedAuthenticationEvent::__construct()
FailedAuthenticationEvent constructor.
Parameters
\Drupal\social_auth\SocialAuthDataHandler $data_handler: The Social Auth data handler.
string $plugin_id: The plugin Id dispatching this event.
string $error: The error string.
File
- src/
Event/ FailedAuthenticationEvent.php, line 54
Class
- FailedAuthenticationEvent
- Dispatched when user authentication fails in provider.
Namespace
Drupal\social_auth\EventCode
public function __construct(SocialAuthDataHandler $data_handler, $plugin_id, $error = NULL) {
$this->dataHandler = $data_handler;
$this->pluginId = $plugin_id;
$this->error = $error;
}