You are here

public function SocialAuthUser::getName in Social Auth 8.2

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

Gets the user's name.

Return value

string The user's name.

Overrides SocialAuthUserInterface::getName

File

src/User/SocialAuthUser.php, line 142

Class

SocialAuthUser
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function getName() {
  return $this->name;
}