public function FailedAuthenticationEvent::setResponse in Social Auth 8.2
Same name and namespace in other branches
- 3.x 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 106
Class
- FailedAuthenticationEvent
- Dispatched when user authentication fails in provider.
Namespace
Drupal\social_auth\EventCode
public function setResponse(RedirectResponse $response) {
$this->response = $response;
}