public function GoogleAuthSettings::getClientSecret in Open Social 8.2
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8.3 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8.4 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8.5 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8.6 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8.7 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
- 8.8 modules/custom/social_auth_google/src/Settings/GoogleAuthSettings.php \Drupal\social_auth_google\Settings\GoogleAuthSettings::getClientSecret()
Gets the client secret.
Return value
string The client secret.
Overrides GoogleAuthSettingsInterface::getClientSecret
File
- modules/
custom/ social_auth_google/ src/ Settings/ GoogleAuthSettings.php, line 40
Class
- GoogleAuthSettings
- Defines methods to get Social Auth Google app settings.
Namespace
Drupal\social_auth_google\SettingsCode
public function getClientSecret() {
if (!$this->clientSecret) {
$this->clientSecret = $this->config
->get('client_secret');
}
return $this->clientSecret;
}