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::CONSTRUCTORS, Document::XPATH

Constants included from XsdValidatable

XsdValidatable::METADATA_XSD, XsdValidatable::PROTOCOL_XSD

Constants included from XmlParseable

XmlParseable::NAMESPACES

Instance Attribute Summary

Attributes included from Respondable

#request_id

Attributes inherited from Document

#name, #registry

Instance Method Summary collapse

Methods included from Respondable

#in_response_to, #status_code, #status_message, #success?

Methods inherited from Document

#destination, #id, #issue_instant, #issuer, to_saml_document, #version

Methods included from XmlParseable

#present?, #to_h, #to_s, #to_xhtml, #to_xml

Methods included from Trustable

#signed?, #trusted?

Methods included from Validatable

#each_error

Constructor Details

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

Returns a new instance of LogoutResponse.



13
14
15
16
17
18
# File 'lib/saml/kit/logout_response.rb', line 13

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