public function GoogleApiServiceClientInterface::setAccessToken in Google API PHP Client 8.3
Same name and namespace in other branches
- 8.4 src/GoogleApiServiceClientInterface.php \Drupal\google_api_client\GoogleApiServiceClientInterface::setAccessToken()
Function set Access Token.
Parameters
array $token: Pass array of Access Token for the account.
1 method overrides GoogleApiServiceClientInterface::setAccessToken()
- GoogleApiServiceClient::setAccessToken in src/
Entity/ GoogleApiServiceClient.php - Function set Access Token.
File
- src/
GoogleApiServiceClientInterface.php, line 63
Class
- GoogleApiServiceClientInterface
- Provides an interface defining a GoogleApiServiceClient entity.
Namespace
Drupal\google_api_clientCode
public function setAccessToken(array $token);