You are here

public function GoogleApiClientInterface::setClientSecret in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setClientSecret()
  2. 8.2 src/GoogleApiClientInterface.php \Drupal\google_api_client\GoogleApiClientInterface::setClientSecret()

Function set Client Secret.

Parameters

string $secret: Pass Client Secret for the account.

1 method overrides GoogleApiClientInterface::setClientSecret()
GoogleApiClient::setClientSecret in src/Entity/GoogleApiClient.php
Function set Client Secret.

File

src/GoogleApiClientInterface.php, line 118

Class

GoogleApiClientInterface
Provides an interface defining a GoogleApiClient entity.

Namespace

Drupal\google_api_client

Code

public function setClientSecret($secret);