You are here

public function LinkedInAuthManager::__construct in Social Auth LinkedIn 8.2

Same name and namespace in other branches
  1. 8 src/LinkedinAuthManager.php \Drupal\social_auth_linkedin\LinkedinAuthManager::__construct()
  2. 3.x src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::__construct()

Constructor.

Parameters

\Drupal\Core\Config\ConfigFactory $configFactory: Used for accessing configuration object factory.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.

File

src/LinkedInAuthManager.php, line 23

Class

LinkedInAuthManager
Contains all the logic for LinkedIn OAuth2 authentication.

Namespace

Drupal\social_auth_linkedin

Code

public function __construct(ConfigFactory $configFactory, LoggerChannelFactoryInterface $logger_factory) {
  parent::__construct($configFactory
    ->get('social_auth_linkedin.settings'), $logger_factory);
}