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