ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
PreconditionValidator.php
Go to the documentation of this file.
1
<?php
2
3
namespace
SAML2\Response\Validation
;
4
5
use
SAML2\Configuration\Destination
;
6
use
SAML2\Response\Validation\ConstraintValidator\DestinationMatches
;
7
use
SAML2\Response\Validation\ConstraintValidator\IsSuccessful
;
8
12
class
PreconditionValidator
extends
Validator
13
{
14
public
function
__construct
(
Destination
$destination
)
15
{
16
// move to DI
17
$this->
addConstraintValidator
(
new
IsSuccessful
());
18
$this->
addConstraintValidator
(
19
new
DestinationMatches
($destination)
20
);
21
}
22
}
SAML2\Response\Validation
SAML2\Response\Validation\PreconditionValidator
Validates the preconditions that have to be met prior to processing of the response.
Definition:
PreconditionValidator.php:12
DestinationMatches
SAML2\Response\Validation\ConstraintValidator\IsSuccessful
Definition:
IsSuccessful.php:10
IsSuccessful
SAML2\Message\$destination
$destination
Definition:
Message.php:55
SAML2\Response\Validation\Validator
Definition:
Validator.php:7
SAML2\Response\Validation\PreconditionValidator\__construct
__construct(Destination $destination)
Definition:
PreconditionValidator.php:14
SAML2\Response\Validation\ConstraintValidator\DestinationMatches
Definition:
DestinationMatches.php:10
SAML2\Response\Validation\Validator\addConstraintValidator
addConstraintValidator(ConstraintValidator $constraint)
Definition:
Validator.php:14
SAML2\Configuration\Destination
Value Object representing the current destination.
Definition:
Destination.php:10
Destination
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
Response
Validation
PreconditionValidator.php
Generated on Sat Jan 18 2025 19:01:09 for ILIAS by
1.8.13 (using
Doxyfile
)