public function FailedAuthenticationEvent::setResponse in Social Auth 3.x
Same name and namespace in other branches
- 8.2 src/Event/FailedAuthenticationEvent.php \Drupal\social_auth\Event\FailedAuthenticationEvent::setResponse()
Sets a new redirect response object.
Parameters
\Symfony\Component\HttpFoundation\RedirectResponse $response: The response from the provider.
File
- src/
Event/ FailedAuthenticationEvent.php, line 105
Class
- FailedAuthenticationEvent
- Dispatched when user authentication fails in provider.
Namespace
Drupal\social_auth\EventCode
public function setResponse(RedirectResponse $response) {
$this->response = $response;
}