You are here

public function SamlSPAuthnRequest::__construct in SAML Service Provider 8.3

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

File

src/SAML/SamlSPAuthnRequest.php, line 16

Class

SamlSPAuthnRequest
Constructs the authentication request.

Namespace

Drupal\saml_sp\SAML

Code

public function __construct(Settings $settings, $forceAuthn = FALSE, $isPassive = FALSE, $setNameIdPolicy = TRUE, $nameIdValueReq = NULL) {
  parent::__construct($settings, $forceAuthn, $isPassive, $setNameIdPolicy, $nameIdValueReq);
  if (\Drupal::config('saml_sp.settings')
    ->get('debug')) {
    _saml_sp__debug('samlp:AuthnRequest', $this);
  }
}