Esempio n. 1
0
        public static void Postpone()
        {
            var userInfo = GetUserInfo();

            if (userInfo != null)
            {
                SSOUtil.Postpone(userInfo.Token);
            }
        }
Esempio n. 2
0
        public CustomJsonResult CheckPermission(string operater, string userId, string token, RupOwnCheckPermission rop)
        {
            var result = new CustomJsonResult();

            SSOUtil.Postpone(token);

            result = new CustomJsonResult(ResultType.Success, ResultCode.Success, "检查成功");

            return(result);
        }
Esempio n. 3
0
        public static void Postpone()
        {
            var userInfo = GetUserInfo();

            if (userInfo != null)
            {
                var context  = HttpContext.Current;
                var request  = context.Request;
                var response = context.Response;
                var token    = request.Cookies[OwnRequest.SESSION_NAME];
                if (token == null)
                {
                    SSOUtil.Postpone(token.Value);
                }
            }
        }