You are here

public function LinkedInAuthSettings::getClientId in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  2. 8 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  3. 8.2 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  4. 8.3 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  5. 8.5 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  6. 8.6 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  7. 8.7 modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings::getClientId()
  8. 8.8 modules/custom/social_auth_linkedin/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

modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettings.php, line 29

Class

LinkedInAuthSettings
Defines methods to get Social Auth LinkedIn app settings.

Namespace

Drupal\social_auth_linkedin\Settings

Code

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