You are here

public function SamlSPAuth::__construct in SAML Service Provider 8.2

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

@inherit

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

File

src/SAML/SamlSPAuth.php, line 21

Class

SamlSPAuth

Namespace

Drupal\saml_sp\SAML

Code

public function __construct($oldSettings = null) {
  $this->__settings = new OneLogin_Saml2_Settings($oldSettings);
  parent::__construct($oldSettings);
}