lib/rsaml/protocol/query/authn_query.rb
def to_xml(xml=Builder::XmlMarkup.new)
          attributes = {}
          attributes['SessionIndex'] = session_index unless session_index.nil?
          xml.tag!('samlp:AuthnQuery', attributes) {
            xml << subject.to_xml unless subject.nil?
          }
        end
# Construct an XML fragment representing the authn query
Construct an XML fragment representing the authn query
Construct an XML fragment representing the authn query
def to_xml(xml=Builder::XmlMarkup.new)
          attributes = {}
          attributes['SessionIndex'] = session_index unless session_index.nil?
          xml.tag!('samlp:AuthnQuery', attributes) {
            xml << subject.to_xml unless subject.nil?
          }
        end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { } attributes [ 'SessionIndex' ] = session_index unless session_index . nil? xml . tag! ( 'samlp:AuthnQuery' , attributes ) { xml << subject . to_xml unless subject . nil? } end
Construct an XML fragment representing the authn query
Construct an XML fragment representing the authn query
xml
new