LinkedinAuthSettings.php in Social Auth LinkedIn 8
File
src/Settings/LinkedinAuthSettings.php
View source
<?php
namespace Drupal\social_auth_linkedin\Settings;
use Drupal\social_api\Settings\SettingsBase;
class LinkedinAuthSettings extends SettingsBase implements LinkedinAuthSettingsInterface {
protected $clientId;
protected $clientSecret;
public function getClientId() {
if (!$this->clientId) {
$this->clientId = $this->config
->get('client_id');
}
return $this->clientId;
}
public function getClientSecret() {
if (!$this->clientSecret) {
$this->clientSecret = $this->config
->get('client_secret');
}
return $this->clientSecret;
}
}