LinkedInAuthSettings.php in Social Auth LinkedIn 8.2
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;
}
}