AuthBridge.Protocols.WSFed.WindowsAzureADHandler.RequestAuthentication C# (CSharp) Метод

RequestAuthentication() приватный Метод

private RequestAuthentication ( System.Web.HttpContextBase httpContext, string identityProviderUrl, string realm, string replyUrl ) : void
httpContext System.Web.HttpContextBase
identityProviderUrl string
realm string
replyUrl string
Результат void
        private void RequestAuthentication(HttpContextBase httpContext, string identityProviderUrl, string realm, string replyUrl)
        {
            var signIn = new SignInRequestMessage(new Uri(identityProviderUrl), realm)
            {
                Context = replyUrl,
                Reply = replyUrl
            };

            var redirectUrl = signIn.WriteQueryString();

            httpContext.Response.Redirect(redirectUrl, false);
            httpContext.ApplicationInstance.CompleteRequest();
        }