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

Method Element

schema.go:1070–1074  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1068
1069// Element returns an etree.Element representing the object in XML form.
1070func (sm StatusMessage) Element() *etree.Element {
1071 el := etree.NewElement("samlp:StatusMessage")
1072 el.SetText(sm.Value)
1073 return el
1074}
1075
1076// StatusDetail represents the SAML element StatusDetail.
1077//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected