Class: Saml::Kit::LogoutResponse

Inherits:
Document
  • Object
show all
Includes:
Respondable
Defined in:
lib/saml/kit/logout_response.rb

Overview

This class is used to parse a LogoutResponse SAML document.

document = Saml::Kit::LogoutResponse.new(raw_xml)

Constant Summary

Constants inherited from Document

Document::NAMESPACES, Document::PROTOCOL_XSD, Document::XPATH

Instance Attribute Summary

Attributes included from Respondable

#request_id

Instance Method Summary collapse

Methods included from Respondable

#in_response_to, #status_code, #success?

Methods inherited from Document

#destination, #id, #issue_instant, #issuer, #to_h, #to_s, to_saml_document, #to_xhtml, #to_xml, #version

Methods included from Trustable

#signed?, #trusted?

Constructor Details

#initialize(xml, request_id: nil, configuration: Saml::Kit.configuration) ⇒ LogoutResponse



11
12
13
14
# File 'lib/saml/kit/logout_response.rb', line 11

def initialize(xml, request_id: nil, configuration: Saml::Kit.configuration)
  @request_id = request_id
  super(xml, name: "LogoutResponse", configuration: configuration)
end