$id
$id : string
Contains the ID of the Logout Request
SAML 2 Logout Request
$_settings : \OneLogin_Saml2_Settings
Object that represents the setting info
__construct(\OneLogin_Saml2_Settings $settings, string|null $request = null, string|null $nameId = null, string|null $sessionIndex = null, string|null $nameIdFormat = null, string|null $nameIdNameQualifier = null, string|null $nameIdSPNameQualifier = null)
Constructs the Logout Request object.
\OneLogin_Saml2_Settings | $settings | Settings |
string|null | $request | A UUEncoded Logout Request. |
string|null | $nameId | The NameID that will be set in the LogoutRequest. |
string|null | $sessionIndex | The SessionIndex (taken from the SAML Response in the SSO process). |
string|null | $nameIdFormat | The NameID Format will be set in the LogoutRequest. |
string|null | $nameIdNameQualifier | The NameID NameQualifier will be set in the LogoutRequest. |
string|null | $nameIdSPNameQualifier | The NameID SP NameQualifier will be set in the LogoutRequest. |
getNameIdData(string|\DOMDocument $request, string|null $key = null) : array
Gets the NameID Data of the the Logout Request.
string|\DOMDocument | $request | Logout Request Message |
string|null | $key | The SP key |
Name ID Data (Value, Format, NameQualifier, SPNameQualifier)
getNameId(string|\DOMDocument $request, string|null $key = null) : string
Gets the NameID of the Logout Request.
string|\DOMDocument | $request | Logout Request Message |
string|null | $key | The SP key |
Name ID Value
getSessionIndexes(string|\DOMDocument $request) : array
Gets the SessionIndexes from the Logout Request.
Notice: Our Constructor only support 1 SessionIndex but this parser extracts an array of all the SessionIndex found on a Logout Request, that could be many.
string|\DOMDocument | $request | Logout Request Message |
The SessionIndex value