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
| 46 | // |
| 47 | // See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.1 |
| 48 | type 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 |
| 61 | func (m EntitiesDescriptor) MarshalXML(e *xml.Encoder, _ xml.StartElement) error { |
nothing calls this directly
no outgoing calls
no test coverage detected