public function SocialAuthUser::setToken in Social Auth 8.2
Same name and namespace in other branches
- 3.x src/User/SocialAuthUser.php \Drupal\social_auth\User\SocialAuthUser::setToken()
Sets the user's token.
Parameters
string $token: The user's token.
Overrides SocialAuthUserInterface::setToken
File
- src/
User/ SocialAuthUser.php, line 191
Class
- SocialAuthUser
- User data used for authentication with Drupal.
Namespace
Drupal\social_auth\UserCode
public function setToken($token) {
$this->token = $token;
}