class LinkedInAuthSettings in Social Auth LinkedIn 8.2
Same name and namespace in other branches
- 8 src/Settings/LinkedinAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedinAuthSettings
- 3.x src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings
Defines methods to get Social Auth LinkedIn settings.
Hierarchy
- class \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings extends \Drupal\social_api\Settings\SettingsBase implements LinkedInAuthSettingsInterface
Expanded class hierarchy of LinkedInAuthSettings
1 file declares its use of LinkedInAuthSettings
- LinkedInAuth.php in src/
Plugin/ Network/ LinkedInAuth.php
File
- src/
Settings/ LinkedInAuthSettings.php, line 10
Namespace
Drupal\social_auth_linkedin\SettingsView source
class LinkedInAuthSettings extends SettingsBase implements LinkedInAuthSettingsInterface {
/**
* Client ID.
*
* @var string
*/
protected $clientId;
/**
* Client secret.
*
* @var string
*/
protected $clientSecret;
/**
* {@inheritdoc}
*/
public function getClientId() {
if (!$this->clientId) {
$this->clientId = $this->config
->get('client_id');
}
return $this->clientId;
}
/**
* {@inheritdoc}
*/
public function getClientSecret() {
if (!$this->clientSecret) {
$this->clientSecret = $this->config
->get('client_secret');
}
return $this->clientSecret;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LinkedInAuthSettings:: |
protected | property | Client ID. | |
LinkedInAuthSettings:: |
protected | property | Client secret. | |
LinkedInAuthSettings:: |
public | function |
Gets the client ID. Overrides LinkedInAuthSettingsInterface:: |
|
LinkedInAuthSettings:: |
public | function |
Gets the client secret. Overrides LinkedInAuthSettingsInterface:: |