You are here

public function SamlauthConfigureForm::__construct in SAML Authentication 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::__construct()
  2. 4.x src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::__construct()

Constructs a \Drupal\samlauth\Form\SamlauthConfigureForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Path\PathValidatorInterface $path_validator: The PathValidator service.

\Drupal\Core\Utility\Token $token: The token service.

Overrides ConfigFormBase::__construct

File

src/Form/SamlauthConfigureForm.php, line 42

Class

SamlauthConfigureForm
Provides a configuration form for samlauth module settings and IDP/SP info.

Namespace

Drupal\samlauth\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PathValidatorInterface $path_validator, Token $token) {
  parent::__construct($config_factory);
  $this->pathValidator = $path_validator;
  $this->token = $token;
}