You are here

public function SocialAuthUser::getEmail in Social Auth 8.2

Same name and namespace in other branches
  1. 3.x src/User/SocialAuthUser.php \Drupal\social_auth\User\SocialAuthUser::getEmail()

Gets the user's email.

Return value

string The user's email.

Overrides SocialAuthUserInterface::getEmail

File

src/User/SocialAuthUser.php, line 156

Class

SocialAuthUser
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function getEmail() {
  return $this->email;
}