You are here

public function FacebookAuthManager::__construct in Social Auth Facebook 8.2

Same name and namespace in other branches
  1. 8 src/FacebookAuthManager.php \Drupal\social_auth_facebook\FacebookAuthManager::__construct()
  2. 3.x src/FacebookAuthManager.php \Drupal\social_auth_facebook\FacebookAuthManager::__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/FacebookAuthManager.php, line 30

Class

FacebookAuthManager
Contains all the logic for Facebook OAuth2 authentication.

Namespace

Drupal\social_auth_facebook

Code

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