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"));
 }
Пример #3
0
 private static string CreateMetadataString()
 {
     return(MetadataModel.CreateFederationMetadata().ToXmlString(
                CertificateHelper.SigningCertificate,
                SignedXml.XmlDsigRSASHA256Url));
 }
Пример #4
0
 public ActionResult BrowserFriendly()
 {
     return(this.Content(
                MetadataModel.CreateFederationMetadata().ToXmlString(),
                "text/xml"));
 }
Пример #5
0
 // GET: Federation
 public ActionResult Index()
 {
     return(this.Content(
                MetadataModel.CreateFederationMetadata().ToXmlString(),
                "application/samlmetadata+xml"));
 }