You are here

public function SamlSPAuth::buildRequestSignature 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::buildRequestSignature()
  2. 4.x src/SAML/SamlSPAuth.php \Drupal\saml_sp\SAML\SamlSPAuth::buildRequestSignature()
  3. 3.x src/SAML/SamlSPAuth.php \Drupal\saml_sp\SAML\SamlSPAuth::buildRequestSignature()
1 call to SamlSPAuth::buildRequestSignature()
SamlSPAuth::login in src/SAML/SamlSPAuth.php
Initiates the SSO process.

File

src/SAML/SamlSPAuth.php, line 94

Class

SamlSPAuth

Namespace

Drupal\saml_sp\SAML

Code

public function buildRequestSignature($samlRequest, $relayState, $signAlgorithm = XMLSecurityKey::RSA_SHA1) {
  $signature = parent::buildRequestSignature($samlRequest, $relayState, $signAlgorithm);
  if (\Drupal::config('saml_sp.settings')
    ->get('debug') && \Drupal::moduleHandler()
    ->moduleExists('devel')) {
    dpm($samlRequest, '$samlRequest');
  }
  return $signature;
}