You are here

class SamlSPAuthnRequest in SAML Service Provider 8.2

Same name and namespace in other branches
  1. 8.3 src/SAML/SamlSPAuthnRequest.php \Drupal\saml_sp\SAML\SamlSPAuthnRequest
  2. 4.x src/SAML/SamlSPAuthnRequest.php \Drupal\saml_sp\SAML\SamlSPAuthnRequest
  3. 3.x src/SAML/SamlSPAuthnRequest.php \Drupal\saml_sp\SAML\SamlSPAuthnRequest

Hierarchy

Expanded class hierarchy of SamlSPAuthnRequest

File

src/SAML/SamlSPAuthnRequest.php, line 8

Namespace

Drupal\saml_sp\SAML
View source
class SamlSPAuthnRequest extends OneLogin_Saml2_AuthnRequest {

  /**
   * Constructs the AuthnRequest object.
   *
   * @param OneLogin_Saml2_Settings $settings Settings
   */
  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>');
      }
    }
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SamlSPAuthnRequest::__construct public function Constructs the AuthnRequest object.