public function OAuth2Manager::__construct in Social API 8.2
Same name and namespace in other branches
- 3.x src/AuthManager/OAuth2Manager.php \Drupal\social_api\AuthManager\OAuth2Manager::__construct()
OAuth2Manager Constructor.
Parameters
\Drupal\Core\Config\ImmutableConfig $settings: The implementer settings.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.
\Symfony\Component\HttpFoundation\Request $request: The current request.
File
- src/
AuthManager/ OAuth2Manager.php, line 68
Class
- OAuth2Manager
- Defines basic OAuth2Manager to be used by social auth and social post.
Namespace
Drupal\social_api\AuthManagerCode
public function __construct(ImmutableConfig $settings, LoggerChannelFactoryInterface $logger_factory, Request $request = NULL) {
$this->settings = $settings;
$this->loggerFactory = $logger_factory;
$this->request = $request;
}