You are here

public function GoogleAuthSettings::getClientId in Open Social 8.3

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  2. 8 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  3. 8.2 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  4. 8.4 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  5. 8.5 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  6. 8.6 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  7. 8.7 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()
  8. 8.8 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientId()

Gets the client ID.

Return value

string The client ID.

Overrides GoogleAuthSettingsInterface::getClientId

File

modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php, line 29

Class

GoogleAuthSettings
Defines methods to get Social Auth Google app settings.

Namespace

Drupal\social_auth_google\Settings

Code

public function getClientId() {
  if (!$this->clientId) {
    $this->clientId = $this->config
      ->get('client_id');
  }
  return $this->clientId;
}