You are here

public function SocialAuthUser::setProviderId in Social Auth 3.x

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

Sets the user's id in provider.

Parameters

string $provider_id: The user's id in provider.

Overrides SocialAuthUserInterface::setProviderId

File

src/User/SocialAuthUser.php, line 177

Class

SocialAuthUser
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function setProviderId($provider_id) {
  $this->providerUserID = $provider_id;
}