We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdeb3ce commit d1a9320Copy full SHA for d1a9320
src/SAML2/HTTPArtifact.php
@@ -12,6 +12,7 @@
12
use SimpleSAML\Utils\HTTP;
13
14
use SAML2\Utilities\Temporal;
15
+use SAML2\XML\saml\Issuer;
16
17
/**
18
* Class which implements the HTTP-Artifact binding.
@@ -130,9 +131,9 @@ public function receive(): Message
130
131
$ar = new ArtifactResolve();
132
133
/* Set the request attributes */
134
+ $issuer = new Issuer($this->spMetadata->getString('entityid'));
135
- /** @psalm-suppress UndefinedClass */
- $ar->setIssuer($this->spMetadata->getString('entityid'));
136
+ $ar->setIssuer($issuer);
137
$ar->setArtifact($_REQUEST['SAMLart']);
138
$ar->setDestination($endpoint['Location']);
139
0 commit comments