Exemplo n.º 1
0
        public ActionResult CheckAuthorizationStatus(string provider, int userId)
        {
            OAuthAuthorizationResult result = null;
            OAuthClient client = OAuthClient.GetClient(provider);

            if (client != null)
            {
                result = client.CheckAuthorizationStatus(userId);
            }

            return(Json(result));
        }