You are here

public function SocialAuthUserInterface::setToken in Social Auth 3.x

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

Sets the user's token.

Parameters

string $token: The user's token.

1 method overrides SocialAuthUserInterface::setToken()
SocialAuthUser::setToken in src/User/SocialAuthUser.php
Sets the user's token.

File

src/User/SocialAuthUserInterface.php, line 104

Class

SocialAuthUserInterface
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function setToken($token);