You are here

public function LinkedInAuthSettings::getClientSecret in Social Auth LinkedIn 8.2

Same name and namespace in other branches
  1. 8 src/Settings/LinkedinAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedinAuthSettings::getClientSecret()
  2. 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
Defines methods to get Social Auth LinkedIn settings.

Namespace

Drupal\social_auth_linkedin\Settings

Code

public function getClientSecret() {
  if (!$this->clientSecret) {
    $this->clientSecret = $this->config
      ->get('client_secret');
  }
  return $this->clientSecret;
}