You are here

public function SocialAuthUser::getFirstName in Social Auth 8.2

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

Gets the user's first name.

Return value

string The user's first name.

Overrides SocialAuthUserInterface::getFirstName

File

src/User/SocialAuthUser.php, line 114

Class

SocialAuthUser
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function getFirstName() {
  return $this->firstName;
}