You are here

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

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

Gets the error string from provider.

Return value

string The error string.

File

src/Event/FailedAuthenticationEvent.php, line 85

Class

FailedAuthenticationEvent
Dispatched when user authentication fails in provider.

Namespace

Drupal\social_auth\Event

Code

public function getError() {
  return $this->error;
}