Skip to content

Commit

Permalink
Rename call to deprecated processSignedRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed May 13, 2024
1 parent 742e7ca commit 86ab8ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,11 @@ public function __construct(
* The service provider in this context is SelfService (when registering
* a token) or RA (when vetting a token).
*
* @param Provider $provider
* @param Request $httpRequest
* @return AuthnRequest
*/
public function singleSignOn(Provider $provider, Request $httpRequest)
{
$originalRequest = $this->redirectBinding->processSignedRequest($httpRequest);
$originalRequest = $this->redirectBinding->receiveSignedAuthnRequestFrom($httpRequest);

$originalRequestId = $originalRequest->getRequestId();
$logger = $this->samlLogger->forAuthentication($originalRequestId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private function mockRedirectBinding($samlResponseXml): void
{
$authnRequest = ReceivedAuthnRequest::from($samlResponseXml);

$this->redirectBinding->shouldReceive('processSignedRequest')
$this->redirectBinding->shouldReceive('receiveSignedAuthnRequestFrom')
->andReturn($authnRequest);
}
}

0 comments on commit 86ab8ce

Please sign in to comment.