MCPcopy Create free account
hub / github.com/crewjam/saml / Element

Method Element

schema.go:584–594  ·  view source on GitHub ↗

Element returns an etree.Element representing the object in XML form.

()

Source from the content-addressed store, hash-verified

582
583// Element returns an etree.Element representing the object in XML form.
584func (s *Status) Element() *etree.Element {
585 el := etree.NewElement("samlp:Status")
586 el.AddChild(s.StatusCode.Element())
587 if s.StatusMessage != nil {
588 el.AddChild(s.StatusMessage.Element())
589 }
590 if s.StatusDetail != nil {
591 el.AddChild(s.StatusDetail.Element())
592 }
593 return el
594}
595
596// StatusCode represents the SAML object of the same name.
597//

Callers

nothing calls this directly

Calls 1

ElementMethod · 0.45

Tested by

no test coverage detected