class Saml::SloLogoutresponse

Overview

SAML2 Logout Response (SLO IdP initiated, Builder)

Defined in:

saml/slo_logoutresponse.cr

Constructors

Instance Method Summary

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

def self.new #

[View source]

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


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


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


[View source]
def create_xml_document(settings : Settings, request_id : String | Nil = nil, logout_message : String | Nil = nil, status_code : String | Nil = nil) : XMLSecurity::Document #

[View source]
def logout_url : String | Nil #

[View source]
def response_id : String #

[View source]
def sign_document(document : XMLSecurity::Document, settings : Settings) : XMLSecurity::Document #

[View source]
def uuid : String #

Logout Response ID


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

Logout Response ID


[View source]