Esempio n. 1
0
        public ActionResult GoogleLogin(string returnUrl)
        {
            var properties = new AuthenticationProperties
            {
                RedirectUri = Url.Action("GoogleLoginCallback", new { returnUrl = returnUrl })
            };

            AuthManager.Challenge(properties, "Google");
            return(new HttpUnauthorizedResult());
        }