ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
PreconditionNotMetException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
SAML2\Response\Exception
;
4
5
use
SAML2\Response\Validation\Result
;
6
10
class
PreconditionNotMetException
extends
InvalidResponseException
11
{
12
public
static
function
createFromValidationResult
(
Result
$result
)
13
{
14
$message
= sprintf(
15
'Cannot process response, preconditions not met: "%s"'
,
16
implode(
'", "'
, $result->
getErrors
())
17
);
18
19
return
new
self
(
$message
);
20
}
21
}
SAML2\Response\Validation\Result
Simple Result object.
Definition:
Result.php:10
$result
$result
Definition:
CleanUpTest.php:463
SAML2\Response\Exception
Definition:
InvalidResponseException.php:3
SAML2\Response\Validation\Result\getErrors
getErrors()
Definition:
Result.php:40
SAML2\Response\Exception\InvalidResponseException
Definition:
InvalidResponseException.php:7
$message
catch(Exception $e) $message
Definition:
saml2-logout.php:34
SAML2\Response\Exception\PreconditionNotMetException\createFromValidationResult
static createFromValidationResult(Result $result)
Definition:
PreconditionNotMetException.php:12
SAML2\Response\Exception\PreconditionNotMetException
Named exception to indicate that the preconditions for processing the SAML response have not been met...
Definition:
PreconditionNotMetException.php:10
Result
libs
composer
vendor
simplesamlphp
saml2
src
SAML2
Response
Exception
PreconditionNotMetException.php
Generated on Sat Jan 18 2025 19:01:09 for ILIAS by
1.8.13 (using
Doxyfile
)