|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for SAML2\HTTPRedirect:
Collaboration diagram for SAML2\HTTPRedirect:Public Member Functions | |
| getRedirectURL (Message $message) | |
| Create the redirect URL for a message. More... | |
| send (Message $message) | |
| Send a SAML 2 message using the HTTP-Redirect binding. More... | |
| receive () | |
| Receive a SAML 2 message sent using the HTTP-Redirect binding. More... | |
Public Member Functions inherited from SAML2\Binding | |
| getDestination () | |
| Retrieve the destination of a message. More... | |
| setDestination ($destination) | |
| Override the destination of a message. More... | |
| send (Message $message) | |
| Send a SAML 2 message. More... | |
| receive () | |
| Receive a SAML 2 message. More... | |
Static Public Member Functions | |
| static | validateSignature (array $data, XMLSecurityKey $key) |
| Validate the signature on a HTTP-Redirect message. More... | |
Static Public Member Functions inherited from SAML2\Binding | |
| static | getBinding ($urn) |
| Retrieve a binding with the given URN. More... | |
| static | getCurrentBinding () |
| Guess the current binding. More... | |
Data Fields | |
| const | DEFLATE = 'urn:oasis:names:tc:SAML:2.0:bindings:URL-Encoding:DEFLATE' |
Static Private Member Functions | |
| static | parseQuery () |
| Helper function to parse query data. More... | |
Additional Inherited Members | |
Protected Attributes inherited from SAML2\Binding | |
| $destination | |
| The destination of messages. More... | |
Definition at line 12 of file HTTPRedirect.php.
| SAML2\HTTPRedirect::getRedirectURL | ( | Message | $message | ) |
Create the redirect URL for a message.
| \SAML2\Message | $message | The message. |
Definition at line 22 of file HTTPRedirect.php.
References $destination, $key, $message, and $relayState.
|
staticprivate |
Helper function to parse query data.
This function returns the query string split into key=>value pairs. It also adds a new parameter, SignedQuery, which contains the data that is signed.
Definition at line 159 of file HTTPRedirect.php.
References $_SERVER, $data, $name, and $relayState.
| SAML2\HTTPRedirect::receive | ( | ) |
Receive a SAML 2 message sent using the HTTP-Redirect binding.
Throws an exception if it is unable receive the message.
NPath is currently too high but solving that just moves code around. @SuppressWarnings(PHPMD.NPathComplexity)
Reimplemented from SAML2\Binding.
Definition at line 97 of file HTTPRedirect.php.
| SAML2\HTTPRedirect::send | ( | Message | $message | ) |
Send a SAML 2 message using the HTTP-Redirect binding.
Note: This function never returns.
| \SAML2\Message | $message | The message we should send. |
Reimplemented from SAML2\Binding.
Definition at line 79 of file HTTPRedirect.php.
References $destination, and $message.
|
static |
Validate the signature on a HTTP-Redirect message.
Throws an exception if we are unable to validate the signature.
| array | $data | The data we need to validate the query string. |
| XMLSecurityKey | $key | The key we should validate the query against. |
Definition at line 210 of file HTTPRedirect.php.
| const SAML2\HTTPRedirect::DEFLATE = 'urn:oasis:names:tc:SAML:2.0:bindings:URL-Encoding:DEFLATE' |
Definition at line 14 of file HTTPRedirect.php.