예제 #1
0
            public virtual void ExecuteResult(ControllerContext context)
            {
                AuthenticationProperties authenticationProperties1 = new AuthenticationProperties();

                authenticationProperties1.set_RedirectUri(this.RedirectUri);
                AuthenticationProperties authenticationProperties2 = authenticationProperties1;

                if (this.UserId != null)
                {
                    authenticationProperties2.get_Dictionary()["XsrfId"] = this.UserId;
                }
                HttpContextBaseExtensions.GetOwinContext(context.get_HttpContext()).get_Authentication().Challenge(authenticationProperties2, new string[1]
                {
                    this.LoginProvider
                });
            }