コード例 #1
0
        public ActionResult Index()
        {
            RM.Unify.Sdk.Client.RmUnifyClientApi client = new RM.Unify.Sdk.Client.RmUnifyClientApi(new RmUnify.CallbackApiImplementation());
            client.ProcessSso(false);

            // Should never get here
            return new EmptyResult();
        }
コード例 #2
0
        public ActionResult Index()
        {
            RM.Unify.Sdk.Client.RmUnifyClientApi client = new RM.Unify.Sdk.Client.RmUnifyClientApi(new Helpers.RmUnifyWithAccountLinking());
            client.ProcessSso(false);

            return new EmptyResult();
        }
コード例 #3
0
 public ActionResult Logout()
 {
     FormsAuthentication.SignOut();
     // RMUNIFY
     RM.Unify.Sdk.Client.RmUnifyClientApi client = new RM.Unify.Sdk.Client.RmUnifyClientApi(new Helpers.RmUnifyWithAccountLinking());
     if (client.Logout(false))
     {
         return new EmptyResult();
     }
     // END RMUNIFY
     return RedirectToAction("Index", "Blog");
 }