You are here

public function OAuth2ManagerInterface::setAccessToken in Social Auth 8

Sets the default access token.

Parameters

mixed $access_token: The access token.

Return value

$this The current object.

1 method overrides OAuth2ManagerInterface::setAccessToken()
OAuth2Manager::setAccessToken in src/AuthManager/OAuth2Manager.php
Sets the default access token.

File

src/AuthManager/OAuth2ManagerInterface.php, line 56

Class

OAuth2ManagerInterface
Defines an OAuth2Manager Interface.

Namespace

Drupal\social_auth\AuthManager

Code

public function setAccessToken($access_token);