Skip to content

Commit

Permalink
Fix deprecated string-issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen authored Mar 18, 2020
1 parent cdeb3ce commit d1a9320
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/SAML2/HTTPArtifact.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use SimpleSAML\Utils\HTTP;

use SAML2\Utilities\Temporal;
use SAML2\XML\saml\Issuer;

/**
* Class which implements the HTTP-Artifact binding.
Expand Down Expand Up @@ -130,9 +131,9 @@ public function receive(): Message
$ar = new ArtifactResolve();

/* Set the request attributes */
$issuer = new Issuer($this->spMetadata->getString('entityid'));

/** @psalm-suppress UndefinedClass */
$ar->setIssuer($this->spMetadata->getString('entityid'));
$ar->setIssuer($issuer);
$ar->setArtifact($_REQUEST['SAMLart']);
$ar->setDestination($endpoint['Location']);

Expand Down

0 comments on commit d1a9320

Please sign in to comment.