ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ArtifactResolve.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
SAML2
;
4
13
class
ArtifactResolve
extends
Request
14
{
15
private
$artifact
;
16
17
public
function
__construct
(\
DOMElement
$xml
= null)
18
{
19
parent::__construct(
'ArtifactResolve'
,
$xml
);
20
21
if
(!is_null(
$xml
)) {
22
$results
= Utils::xpQuery(
$xml
,
'./saml_protocol:Artifact'
);
23
$this->artifact =
$results
[0]->textContent;
24
}
25
}
26
32
public
function
getArtifact
()
33
{
34
return
$this->artifact
;
35
}
36
42
public
function
setArtifact
(
$artifact
)
43
{
44
assert(is_string(
$artifact
));
45
$this->artifact =
$artifact
;
46
}
47
53
public
function
toUnsignedXML
()
54
{
55
$root
= parent::toUnsignedXML();
56
$artifactelement = $this->document->createElementNS(Constants::NS_SAMLP,
'Artifact'
, $this->artifact);
57
$root
->appendChild($artifactelement);
58
59
return
$root
;
60
}
61
}
SAML2\ArtifactResolve\getArtifact
getArtifact()
Retrieve the Artifact in this response.
Definition:
ArtifactResolve.php:32
SAML2\Request
Definition:
Request.php:14
SAML2
Definition:
ArtifactResolve.php:3
SAML2\ArtifactResolve\__construct
__construct(\DOMElement $xml=null)
Definition:
ArtifactResolve.php:17
SAML2\ArtifactResolve\$artifact
$artifact
Definition:
ArtifactResolve.php:15
SAML2\ArtifactResolve
Definition:
ArtifactResolve.php:13
DOMElement
SAML2\ArtifactResolve\setArtifact
setArtifact($artifact)
Set the artifact that should be included in this response.
Definition:
ArtifactResolve.php:42
$artifact
$artifact
Definition:
ArtifactResolutionService.php:51
$root
$root
Definition:
sabredav.php:45
$xml
$xml
Definition:
fetch_windows_zones.php:11
$results
$results
Definition:
svg-scanner.php:47
php
SAML2\ArtifactResolve\toUnsignedXML
toUnsignedXML()
Convert the response message to an XML element.
Definition:
ArtifactResolve.php:53
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
ArtifactResolve.php
Generated on Thu Jan 16 2025 19:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)