public Saml2Response ReceiveSamlResponse(Saml2SsoBinding spBinding, HttpContextBase httpContext)
 {
     XmlElement responseElement; string relayState;
     ServiceProvider.ReceiveSAMLResponseByHTTPPost(httpContext.Request, out responseElement, out relayState);
     var info = new ComponentSpaceSaml2Response(responseElement, relayState, spBinding,
         _certificates.GetEncryptionCertificate(), httpContext);
     return info;
 }
示例#2
0
        public Saml2Response ReceiveSamlResponse(Saml2SsoBinding spBinding, HttpContextBase httpContext)
        {
            XmlElement responseElement; string relayState;

            ServiceProvider.ReceiveSAMLResponseByHTTPPost(httpContext.Request, out responseElement, out relayState);
            var info = new ComponentSpaceSaml2Response(responseElement, relayState, spBinding,
                                                       _certificates.GetEncryptionCertificate(), httpContext);

            return(info);
        }