public function LinkedinAuthSettings::getClientSecret in Social Auth LinkedIn 8
Same name and namespace in other branches
- 8.2 src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientSecret()
- 3.x src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientSecret()
Gets the client secret.
Return value
string The client secret.
Overrides LinkedinAuthSettingsInterface::getClientSecret
File
- src/
Settings/ LinkedinAuthSettings.php, line 39
Class
- LinkedinAuthSettings
- Returns the client information.
Namespace
Drupal\social_auth_linkedin\SettingsCode
public function getClientSecret() {
if (!$this->clientSecret) {
$this->clientSecret = $this->config
->get('client_secret');
}
return $this->clientSecret;
}