public function SocialAuthUserInterface::setToken in Social Auth 8.2
Same name and namespace in other branches
- 3.x 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\UserCode
public function setToken($token);