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.

References $message, and SAML2\Response\Validation\Result\getErrors().

13  {
14  $message = sprintf(
15  'Cannot process response, preconditions not met: "%s"',
16  implode('", "', $result->getErrors())
17  );
18 
19  return new self($message);
20  }
$result
catch(Exception $e) $message
+ Here is the call graph for this function:

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