public function SamlSPAuthnRequest::__construct in SAML Service Provider 8.2
Same name and namespace in other branches
- 8.3 src/SAML/SamlSPAuthnRequest.php \Drupal\saml_sp\SAML\SamlSPAuthnRequest::__construct()
- 4.x src/SAML/SamlSPAuthnRequest.php \Drupal\saml_sp\SAML\SamlSPAuthnRequest::__construct()
- 3.x src/SAML/SamlSPAuthnRequest.php \Drupal\saml_sp\SAML\SamlSPAuthnRequest::__construct()
Constructs the AuthnRequest object.
Parameters
OneLogin_Saml2_Settings $settings Settings:
File
- src/
SAML/ SamlSPAuthnRequest.php, line 15
Class
Namespace
Drupal\saml_sp\SAMLCode
public function __construct(OneLogin_Saml2_Settings $settings, $forceAuthn = false, $isPassive = false, $setNameIdPolicy = true) {
parent::__construct($settings, $forceAuthn, $isPassive, $setNameIdPolicy);
if (\Drupal::config('saml_sp.settings')
->get('debug')) {
if (\Drupal::moduleHandler()
->moduleExists('devel')) {
dpm($this, 'samlp:AuthnRequest');
}
else {
drupal_set_message('samlp:AuthnRequest =></br><pre>' . print_r($this, TRUE) . '</pre>');
}
}
}