Element returns an etree.Element representing the object in XML form.
()
| 1379 | |
| 1380 | // Element returns an etree.Element representing the object in XML form. |
| 1381 | func (s *SessionIndex) Element() *etree.Element { |
| 1382 | el := etree.NewElement("samlp:SessionIndex") |
| 1383 | el.CreateAttr("xmlns:samlp", "urn:oasis:names:tc:SAML:2.0:protocol") |
| 1384 | if s.Value != "" { |
| 1385 | el.SetText(s.Value) |
| 1386 | } |
| 1387 | return el |
| 1388 | } |
| 1389 | |
| 1390 | // SubjectConfirmation represents the SAML element SubjectConfirmation. |
| 1391 | // |
nothing calls this directly
no outgoing calls
no test coverage detected