You are here

public function FailedAuthenticationEvent::hasResponse in Social Auth 3.x

Same name and namespace in other branches
  1. 8.2 src/Event/FailedAuthenticationEvent.php \Drupal\social_auth\Event\FailedAuthenticationEvent::hasResponse()

Returns whether a redirect response was set.

Return value

bool Whether a response was set.

File

src/Event/FailedAuthenticationEvent.php, line 115

Class

FailedAuthenticationEvent
Dispatched when user authentication fails in provider.

Namespace

Drupal\social_auth\Event

Code

public function hasResponse() {
  return $this->response !== NULL;
}