Class: SAML::Bindings::HTTPPost

Inherits:
Object
  • Object
show all
Defined in:
lib/saml/bindings/http_post.rb

Instance Method Summary collapse

Instance Method Details

#build_response(rack_request) ⇒ Object



5
6
7
8
# File 'lib/saml/bindings/http_post.rb', line 5

def build_response(rack_request)
  xml = Core::Document.new(decode(rack_request.params["SAMLResponse"])).root
  Core::Response.from_xml(xml)
end