ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
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 | getBinding ($urn) |
Retrieve a binding with the given URN. More... | |
static | getCurrentBinding () |
Guess the current binding. More... | |
Protected Attributes | |
$destination | |
The destination of messages. More... | |
Definition at line 10 of file Binding.php.
|
static |
Retrieve a binding with the given URN.
Will throw an exception if it is unable to locate the binding.
string | $urn | The URN of the binding. |
Definition at line 28 of file Binding.php.
Referenced by sspmod_saml_IdP_SAML2\handleAuthError(), sspmod_saml_IdP_SAML2\sendLogoutRequest(), sspmod_saml_IdP_SAML2\sendLogoutResponse(), sspmod_saml_IdP_SAML2\sendResponse(), sspmod_saml_Auth_Source_SP\startSLO2(), and sspmod_saml_Auth_Source_SP\startSSO2().
|
static |
Guess the current binding.
This function guesses the current binding and creates an instance of matching that binding.
An exception will be thrown if it is unable to guess the binding.
Definition at line 62 of file Binding.php.
References $_GET, $_POST, $_SERVER, and $contentType.
Referenced by sspmod_saml_IdP_SAML2\receiveAuthnRequest(), and sspmod_saml_IdP_SAML2\receiveLogoutMessage().
SAML2\Binding::getDestination | ( | ) |
Retrieve the destination of a message.
Definition at line 112 of file Binding.php.
References $destination.
|
abstract |
Receive a SAML 2 message.
This function will extract the message from the current request. An exception will be thrown if we are unable to process the message.
|
abstract |
Send a SAML 2 message.
This function will send a message using the specified binding. The message will be delivered to the destination set in the message.
\SAML2\Message | $message | The message which should be sent. |
SAML2\Binding::setDestination | ( | $destination | ) |
Override the destination of a message.
Set to null to use the destination set in the message.
string | null | $destination | The destination the message should be delivered to. |
Definition at line 124 of file Binding.php.
References $destination, and $message.
|
protected |
The destination of messages.
This can be null, in which case the destination in the message is used.
Definition at line 17 of file Binding.php.