public ActionResult BrowserFriendly() { return(Content( MetadataModel.CreateIdpMetadata() .ToXmlString(CertificateHelper.SigningCertificate), "text/xml")); }
// GET: Metadata public ActionResult Index() { return(Content( MetadataModel.CreateIdpMetadata() .ToXmlString(CertificateHelper.SigningCertificate), "application/samlmetadata+xml")); }
public ActionResult BrowserFriendly() { return(Content( MetadataModel.CreateIdpMetadata().ToXmlString(), "text/xml")); }
// GET: Metadata public ActionResult Index() { return(Content( MetadataModel.CreateIdpMetadata().ToXmlString(), "application/samlmetadata+xml")); }
private static string CreateMetadataString() { return(MetadataModel.CreateIdpMetadata() .ToXmlString(CertificateHelper.SigningCertificate, SignedXml.XmlDsigRSASHA256Url)); }