Class: Saml::Kit::Response
Overview
Constant Summary
Constants inherited from Document
Document::NAMESPACES, Document::PROTOCOL_XSD, Document::XPATH
Instance Attribute Summary
Attributes included from Respondable
Instance Method Summary collapse
- #assertion ⇒ Object
-
#initialize(xml, request_id: nil, configuration: Saml::Kit.configuration) ⇒ Response
constructor
A new instance of Response.
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
Constructor Details
#initialize(xml, request_id: nil, configuration: Saml::Kit.configuration) ⇒ Response
Returns a new instance of Response.
12 13 14 15 |
# File 'lib/saml/kit/response.rb', line 12 def initialize(xml, request_id: nil, configuration: Saml::Kit.configuration) @request_id = request_id super(xml, name: "Response", configuration: configuration) end |
Instance Method Details
#assertion ⇒ Object
17 18 19 |
# File 'lib/saml/kit/response.rb', line 17 def assertion @assertion ||= Saml::Kit::Assertion.new(to_h, configuration: @configuration) end |