You are here

public function UserFieldsEvent::getSocialAuthUser in Social Auth 3.x

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

Gets the data of the user to be created.

Return value

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

File

src/Event/UserFieldsEvent.php, line 89

Class

UserFieldsEvent
Defines the user fields to be set in user creation.

Namespace

Drupal\social_auth\Event

Code

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