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

Method Element

schema.go:971–978  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

969
970// Element returns an etree.Element representing the object in XML form.
971func (s *StatusCode) Element() *etree.Element {
972 el := etree.NewElement("samlp:StatusCode")
973 el.CreateAttr("Value", s.Value)
974 if s.StatusCode != nil {
975 el.AddChild(s.StatusCode.Element())
976 }
977 return el
978}
979
980// StatusSuccess means the request succeeded. Additional information MAY be returned in the <StatusMessage> and/or <StatusDetail> elements.
981//

Callers

nothing calls this directly

Calls 1

ElementMethod · 0.45

Tested by

no test coverage detected