ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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, $relayState, SAML2\Message\getDestination(), SAML2\Message\getRelayState(), SAML2\Message\getSignatureKey(), and SAML2\Message\toUnsignedXML().
|
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, $relayState, and array.
SAML2\HTTPRedirect::receive | ( | ) |
Receive a SAML 2 message sent using the HTTP-Redirect binding.
Throws an exception if it is unable receive the message.
Definition at line 97 of file HTTPRedirect.php.
References $data, $message, $xml, and array.
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. |
Definition at line 79 of file HTTPRedirect.php.
References $destination.
|
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.
References $query, and RobRichards\XMLSecLibs\XMLSecurityKey\verifySignature().
const SAML2\HTTPRedirect::DEFLATE = 'urn:oasis:names:tc:SAML:2.0:bindings:URL-Encoding:DEFLATE' |
Definition at line 14 of file HTTPRedirect.php.