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

Method Element

schema.go:606–613  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

604
605// Element returns an etree.Element representing the object in XML form.
606func (s *StatusCode) Element() *etree.Element {
607 el := etree.NewElement("samlp:StatusCode")
608 el.CreateAttr("Value", s.Value)
609 if s.StatusCode != nil {
610 el.AddChild(s.StatusCode.Element())
611 }
612 return el
613}
614
615// StatusSuccess means the request succeeded. Additional information MAY be returned in the <StatusMessage> and/or <StatusDetail> elements.
616//

Callers

nothing calls this directly

Calls 1

ElementMethod · 0.45

Tested by

no test coverage detected