You are here

public function GoogleApiServiceClientInterface::setAccessToken in Google API PHP Client 8.4

Same name and namespace in other branches
  1. 8.3 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_client

Code

public function setAccessToken(array $token);