📄️ Overview
SAML metadata is an XML document that describes a SAML entity (SP or IdP). It declares the entity's identifier, its endpoints (SSO, SLO, ACS), and the certificates used for signing and encryption.
📄️ Generate metadata
Both ServiceProviderWrapper and IdentityProviderWrapper can generate an XML metadata document for their respective entity. Share this metadata with the other party so they can configure the trust relationship.
📄️ Parse metadata
MetadataParser::parse() parses any SAML metadata XML and returns an Entity (either Idp or Sp) or an EntityList when the document is a federation EntitiesDescriptor.