You are here

public function SamlSPAuth::__construct in SAML Service Provider 3.x

Same name and namespace in other branches
  1. 8.3 src/SAML/SamlSPAuth.php \Drupal\saml_sp\SAML\SamlSPAuth::__construct()
  2. 8.2 src/SAML/SamlSPAuth.php \Drupal\saml_sp\SAML\SamlSPAuth::__construct()
  3. 4.x src/SAML/SamlSPAuth.php \Drupal\saml_sp\SAML\SamlSPAuth::__construct()

Since $this->_settings is private we need to capture the settings in our own variable.

File

src/SAML/SamlSPAuth.php, line 37

Class

SamlSPAuth
Handles the authentication.

Namespace

Drupal\saml_sp\SAML

Code

public function __construct($oldSettings = NULL) {
  $this->samlSettings = new Settings($oldSettings);
  parent::__construct($oldSettings);
}