Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tvlooy committed Dec 29, 2022
1 parent 664bc7c commit 4fea1ed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/Saml2/classes/OneLogin_Saml2_LogoutRequest.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@
</li>

<li class="method public">
<a href="#method_isValid" title="isValid :: Checks if the Logout Request recieved is valid.">
<span class="description">Checks if the Logout Request recieved is valid.</span><pre>isValid</pre>
<a href="#method_isValid" title="isValid :: Checks if the Logout Request received is valid.">
<span class="description">Checks if the Logout Request received is valid.</span><pre>isValid</pre>
</a>
</li>
<li class="method public">
Expand Down Expand Up @@ -468,7 +468,7 @@ <h3>Response</h3>

<a id="method_isValid"></a>
<div class="element clickable method public method_isValid" data-toggle="collapse" data-target=".method_isValid .collapse">
<h2>Checks if the Logout Request recieved is valid.</h2>
<h2>Checks if the Logout Request received is valid.</h2>
<pre>isValid(\OneLogin_Saml2_Settings $settings, string|\DOMDocument $request, $debug = false) : boolean</pre>
<div class="labels">
<span class="label">static</span> </div>
Expand Down
2 changes: 1 addition & 1 deletion lib/Saml2/LogoutRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public static function getSessionIndexes($request)
}

/**
* Checks if the Logout Request recieved is valid.
* Checks if the Logout Request received is valid.
*
* @param bool $retrieveParametersFromServer
*
Expand Down
2 changes: 1 addition & 1 deletion lib/Saml2/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ public static function validateBinarySign($messageType, $getData, $idpData, $ret
$objKey = OneLogin_Saml2_Utils::castKey($objKey, $signAlg, 'public');
} catch (Exception $e) {
$ex = new OneLogin_Saml2_ValidationError(
"Invalid signAlg in the recieved ".$strMessageType,
"Invalid signAlg in the received ".$strMessageType,
OneLogin_Saml2_ValidationError::INVALID_SIGNATURE
);
if (count($multiCerts) == 1) {
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/Saml2/LogoutRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ public function testIsInValidSign()
$_GET['SigAlg'] = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1';

$this->assertFalse($logoutRequest5->isValid());
$this->assertEquals('Invalid signAlg in the recieved Logout Request', $logoutRequest5->getError());
$this->assertEquals('Invalid signAlg in the received Logout Request', $logoutRequest5->getError());

$settingsDir = TEST_ROOT .'/settings/';
include $settingsDir.'settings1.php';
Expand Down
2 changes: 1 addition & 1 deletion tests/src/OneLogin/Saml2/LogoutResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function testIsInValidSign()
$_GET['SigAlg'] = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1';
$response8 = new OneLogin_Saml2_LogoutResponse($this->_settings, $_GET['SAMLResponse']);
$this->assertFalse($response8->isValid());
$this->assertEquals('Invalid signAlg in the recieved Logout Response', $response8->getError());
$this->assertEquals('Invalid signAlg in the received Logout Response', $response8->getError());

$settingsDir = TEST_ROOT .'/settings/';
include $settingsDir.'settings1.php';
Expand Down

0 comments on commit 4fea1ed

Please sign in to comment.