class Saml::SloLogoutresponse
- Saml::SloLogoutresponse
- Saml::SamlMessage
- Reference
- Object
Overview
SAML2 Logout Response (SLO SP initiated, Parser)
Defined in:
saml/slo_logoutresponse.crConstructors
-
.new
Initializes the Logout Response.
Instance Method Summary
-
#create(settings, request_id = nil, logout_message = nil, params = {} of Symbol => String, logout_status_code = nil)
Creates the Logout Response string.
-
#create_logout_response_xml_doc(settings, request_id = nil, logout_message = nil, logout_status_code = nil)
Creates the SAMLResponse String.
-
#create_params(settings, request_id = nil, logout_message = nil, params = {} of Symbol | String => String, logout_status_code = nil)
Creates the Get parameters for the logout response.
- #create_xml_document(settings, request_id = nil, logout_message = nil, status_code = nil)
- #response_id : String
- #sign_document(document, settings)
-
#uuid : String
Logout Response ID
-
#uuid=(uuid : String)
Logout Response ID
Instance methods inherited from class Saml::SamlMessage
id(document)
id,
valid_saml?(document, soft = true)
valid_saml?,
version(document)
version
Constructor Detail
Initializes the Logout Response. A SloLogoutresponse Object that is an extension of the SamlMessage class. Asigns an ID, a random uuid.
Instance Method Detail
Creates the Logout Response string. @param settings [Saml::Settings|nil] Toolkit settings @param request_id [String] The ID of the LogoutRequest sent by this SP to the IdP. That ID will be placed as the InResponseTo in the logout response @param logout_message [String] The Message to be placed as StatusMessage in the logout response @param params [Hash] Some extra parameters to be added in the GET for example the RelayState @param logout_status_code [String] The StatusCode to be placed as StatusMessage in the logout response @return [String] Logout Request string that includes the SAMLRequest
Creates the SAMLResponse String. @param settings [Saml::Settings|nil] Toolkit settings @param request_id [String] The ID of the LogoutRequest sent by this SP to the IdP. That ID will be placed as the InResponseTo in the logout response @param logout_message [String] The Message to be placed as StatusMessage in the logout response @param logout_status_code [String] The StatusCode to be placed as StatusMessage in the logout response @return [String] The SAMLResponse String.
Creates the Get parameters for the logout response. @param settings [Saml::Settings|nil] Toolkit settings @param request_id [String] The ID of the LogoutRequest sent by this SP to the IdP. That ID will be placed as the InResponseTo in the logout response @param logout_message [String] The Message to be placed as StatusMessage in the logout response @param params [Hash] Some extra parameters to be added in the GET for example the RelayState @param logout_status_code [String] The StatusCode to be placed as StatusMessage in the logout response @return [Hash] Parameters