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

Struct EntitiesDescriptor

metadata.go:48–58  ·  view source on GitHub ↗

EntitiesDescriptor represents the SAML object of the same name. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.1

Source from the content-addressed store, hash-verified

46//
47// See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.1
48type EntitiesDescriptor struct {
49 XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:metadata EntitiesDescriptor"`
50 ID *string `xml:",attr,omitempty"`
51 ValidUntil *time.Time `xml:"validUntil,attr,omitempty"`
52 CacheDuration *time.Duration `xml:"cacheDuration,attr,omitempty"`
53 Name *string `xml:",attr,omitempty"`
54 Signature *etree.Element
55 Extensions *Extensions `xml:"urn:oasis:names:tc:SAML:2.0:metadata Extensions,omitempty"`
56 EntitiesDescriptors []EntitiesDescriptor `xml:"urn:oasis:names:tc:SAML:2.0:metadata EntitiesDescriptor"`
57 EntityDescriptors []EntityDescriptor `xml:"urn:oasis:names:tc:SAML:2.0:metadata EntityDescriptor"`
58}
59
60// MarshalXML implements xml.Marshaler
61func (m EntitiesDescriptor) MarshalXML(e *xml.Encoder, _ xml.StartElement) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected