class Saml::SloLogoutresponse

Overview

SAML2 Logout Response (SLO SP initiated, Parser)

Defined in:

saml/slo_logoutresponse.cr

Constructors

Instance Method Summary

Instance methods inherited from class Saml::SamlMessage

id(document) id, valid_saml?(document, soft = true) valid_saml?, version(document) version

Constructor Detail

def self.new #

Initializes the Logout Response. A SloLogoutresponse Object that is an extension of the SamlMessage class. Asigns an ID, a random uuid.


[View source]

Instance Method Detail

def create(settings, request_id = nil, logout_message = nil, params = {} of Symbol => String, logout_status_code = nil) #

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


[View source]
def create_logout_response_xml_doc(settings, request_id = nil, logout_message = nil, logout_status_code = nil) #

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.


[View source]
def 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. @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


[View source]
def create_xml_document(settings, request_id = nil, logout_message = nil, status_code = nil) #

[View source]
def response_id : String #

[View source]
def sign_document(document, settings) #

[View source]
def uuid : String #

Logout Response ID


[View source]
def uuid=(uuid : String) #

Logout Response ID


[View source]