You are here

public function UserEvent::getSocialAuthUser in Social Auth 8.2

Same name and namespace in other branches
  1. 3.x src/Event/UserEvent.php \Drupal\social_auth\Event\UserEvent::getSocialAuthUser()

Gets user's data passed by Social Auth.

Return value

\Drupal\social_auth\User\SocialAuthUserInterface The user's data.

File

src/Event/UserEvent.php, line 79

Class

UserEvent
Dispatched when user is created or logged in through Social Auth.

Namespace

Drupal\social_auth\Event

Code

public function getSocialAuthUser() {
  return $this->socialAuthUser;
}