You are here

public function LinkedinAuthSettings::getClientId in Social Auth LinkedIn 8

Same name and namespace in other branches
  1. 8.2 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
Returns the client information.

Namespace

Drupal\social_auth_linkedin\Settings

Code

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