ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SAML2\Response\Exception\PreconditionNotMetException Class Reference

Named exception to indicate that the preconditions for processing the SAML response have not been met. More...

+ Inheritance diagram for SAML2\Response\Exception\PreconditionNotMetException:
+ Collaboration diagram for SAML2\Response\Exception\PreconditionNotMetException:

Static Public Member Functions

static createFromValidationResult (Result $result)
 

Detailed Description

Named exception to indicate that the preconditions for processing the SAML response have not been met.

Definition at line 10 of file PreconditionNotMetException.php.

Member Function Documentation

◆ createFromValidationResult()

static SAML2\Response\Exception\PreconditionNotMetException::createFromValidationResult ( Result  $result)
static

Definition at line 12 of file PreconditionNotMetException.php.

13 {
15 'Cannot process response, preconditions not met: "%s"',
16 implode('", "', $result->getErrors())
17 );
18
19 return new self($message);
20 }
sprintf('%.4f', $callTime)
$result
catch(Exception $e) $message

References $message, $result, and sprintf.

Referenced by SAML2\Response\Processor\enforcePreconditions().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: