You are here

public function LinkedInAuthSettings::getClientId 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::getClientId()
  2. 3.x src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()

Gets the client ID.

Return value

string The client ID.

Overrides LinkedInAuthSettingsInterface::getClientId

File

src/Settings/LinkedInAuthSettings.php, line 29

Class

LinkedInAuthSettings
Defines methods to get Social Auth LinkedIn settings.

Namespace

Drupal\social_auth_linkedin\Settings

Code

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