class LinkedinAuthSettings in Social Auth LinkedIn 8
Same name and namespace in other branches
- 8.2 src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings
- 3.x src/Settings/LinkedInAuthSettings.php \Drupal\social_auth_linkedin\Settings\LinkedInAuthSettings
Returns the client information.
Hierarchy
- class \Drupal\social_auth_linkedin\Settings\LinkedinAuthSettings extends \Drupal\social_api\Settings\SettingsBase implements LinkedinAuthSettingsInterface
Expanded class hierarchy of LinkedinAuthSettings
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:: |