Method: RSAML::Protocol::RequestedAuthnContext#to_xml

Defined in:
lib/rsaml/protocol/requested_authn_context.rb

#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object

Construct an XML fragment representing the requested authn context



28
29
30
31
# File 'lib/rsaml/protocol/requested_authn_context.rb', line 28

def to_xml(xml=Builder::XmlMarkup.new)
  attributes = {'Comparison' => comparison}
  xml.tag!('samlp:RequestedAuthnContext')
end