public static function YandexServicesAuthController::create in Yandex Services Authorization API 8
Implements \Drupal\Core\ControllerInterface::create().
Overrides ContainerInjectionInterface::create
File
- lib/
Drupal/ yandex_services_auth/ Controller/ YandexServicesAuthController.php, line 44 - Contains \Drupal\action\Controller\YandexServicesAuthController
Class
- YandexServicesAuthController
- Controller providing oauth callback for the site authorization on Yandex.
Namespace
Drupal\yandex_services_auth\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container
->get('http_default_client'));
}