public static function SamlController::create in SAML Authentication 8.2
Same name and namespace in other branches
- 8.3 src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::create()
- 8 src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::create()
- 4.x src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::create()
Factory method for dependency injection container.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
Return value
static
Overrides ControllerBase::create
File
- src/
Controller/ SamlController.php, line 90
Class
- SamlController
- Returns responses for samlauth module routes.
Namespace
Drupal\samlauth\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container
->get('samlauth.saml'), $container
->get('request_stack'), $container
->get('config.factory'), $container
->get('path.validator'), $container
->get('token'));
}