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

Method Element

schema.go:1162–1168  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1160
1161// Element returns an etree.Element representing the object in XML form.
1162func (a *AuthnContext) Element() *etree.Element {
1163 el := etree.NewElement("saml:AuthnContext")
1164 if a.AuthnContextClassRef != nil {
1165 el.AddChild(a.AuthnContextClassRef.Element())
1166 }
1167 return el
1168}
1169
1170// AuthnContextClassRef represents the SAML element AuthnContextClassRef.
1171//

Callers

nothing calls this directly

Calls 1

ElementMethod · 0.45

Tested by

no test coverage detected