// Point Login URL to this Action
        public ActionResult Login()
        {
            DotNetOpenAuth.AspNet.Clients.GoogleOpenIdClient client = new GoogleOpenIdClient();
            UrlHelper helper = new UrlHelper(this.ControllerContext.RequestContext);
            var result = helper.Action("Presentations", "Features", null, "http");
            client.RequestAuthentication(this.HttpContext, new Uri(result));

            return new EmptyResult();
        }
Exemple #2
0
 public override void ProcessSignInRequest(Scope scope, HttpContextBase httpContext)
 {
     var client = new GoogleOpenIdClient();
     client.RequestAuthentication(httpContext, this.MultiProtocolIssuer.ReplyUrl);
 }