You are here

public function GoogleApiServiceClient::getAuthConfig in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/Entity/GoogleApiServiceClient.php \Drupal\google_api_client\Entity\GoogleApiServiceClient::getAuthConfig()

Function returns Json file of the account.

Return value

string Returns the JSON.

Overrides GoogleApiServiceClientInterface::getAuthConfig

File

src/Entity/GoogleApiServiceClient.php, line 137

Class

GoogleApiServiceClient
Defines the GoogleApiServiceClient entity.

Namespace

Drupal\google_api_client\Entity

Code

public function getAuthConfig() {
  return Json::decode($this->auth_config);
}