Exemplo n.º 1
0
        /// <summary>
        /// Show username and token stored in database
        /// </summary>
        /// <returns></returns>
        public JsonResult ShowAuthenticationValues()
        {
            JsonResult json = null;

            using (var googleService = _authorize.Authorize())
            {
                json = Json(_authorize.ResponseCredentials(), JsonRequestBehavior.AllowGet);
            }

            return(json);
        }