class
Saml::SloLogoutresponse
- Saml::SloLogoutresponse
- Saml::SamlMessage
- Reference
- Object
Overview
SAML2 Logout Response (SLO IdP initiated, Builder)
Defined in:
saml/slo_logoutresponse.crConstructors
Instance Method Summary
-
#create(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, params : Hash = {} of String => String | ::Nil, logout_status_code : String | Nil = nil) : String
Creates the Logout Response URL.
-
#create_logout_response_xml_doc(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, logout_status_code : String | Nil = nil) : XMLSecurity::Document
Creates the SAMLResponse document.
-
#create_params(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, params : Hash = {} of String => String | ::Nil, logout_status_code : String | Nil = nil) : Hash(String, String)
Creates the GET parameters for the logout response.
- #create_xml_document(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, status_code : String | Nil = nil) : XMLSecurity::Document
- #logout_url : String | Nil
- #response_id : String
- #sign_document(document : XMLSecurity::Document, settings : Settings) : XMLSecurity::Document
-
#uuid : String
Logout Response ID
-
#uuid=(uuid : String)
Logout Response ID
Instance methods inherited from class Saml::SamlMessage
id(document) : String | Nil
id,
valid_saml?(document, soft = true, check_malformed_doc = true) : Bool
valid_saml?,
version(document) : String | Nil
version
Constructor Detail
Instance Method Detail
def create(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, params : Hash = {} of String => String | ::Nil, logout_status_code : String | Nil = nil) : String
#
Creates the Logout Response URL. @param request_id [String] The ID of the LogoutRequest this answers (InResponseTo) @param logout_message [String] The StatusMessage @param logout_status_code [String] The StatusCode @raise [SettingError] when no IdP SLO URL is set
def create_logout_response_xml_doc(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, logout_status_code : String | Nil = nil) : XMLSecurity::Document
#
Creates the SAMLResponse document.
def create_params(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, params : Hash = {} of String => String | ::Nil, logout_status_code : String | Nil = nil) : Hash(String, String)
#
Creates the GET parameters for the logout response.
def create_xml_document(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, status_code : String | Nil = nil) : XMLSecurity::Document
#