You are here

public function SamlSPAuth::buildRequestSignature in SAML Service Provider 4.x

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

Builds the request signature.

1 call to SamlSPAuth::buildRequestSignature()
SamlSPAuth::login in src/SAML/SamlSPAuth.php
Initiates the SSO process.

File

src/SAML/SamlSPAuth.php, line 119

Class

SamlSPAuth
Handles the authentication.

Namespace

Drupal\saml_sp\SAML

Code

public function buildRequestSignature($samlRequest, $relayState, $signAlgorithm = XMLSecurityKey::RSA_SHA1) {
  if (\Drupal::config('saml_sp.settings')
    ->get('debug')) {
    _saml_sp__debug('$this->getSettings()->getSecurityData()', $this
      ->getSettings()
      ->getSecurityData());
  }
  return parent::buildRequestSignature($samlRequest, $relayState, $signAlgorithm);
}