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

Function nestedAggregate

samlsp/fetch_metadata_test.go:148–150  ·  view source on GitHub ↗

nestedAggregate wraps children in an .

(children ...string)

Source from the content-addressed store, hash-verified

146
147// nestedAggregate wraps children in an <EntitiesDescriptor>.
148func nestedAggregate(children ...string) string {
149 return `<EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata">` + strings.Join(children, "") + `</EntitiesDescriptor>`
150}
151
152func testSPEntity(entityID string) string {
153 return `<EntityDescriptor entityID="` + entityID + `"><SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">` +

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected