public async Task <AuthenticateResultModel> AuthorizationAsync(AuthenticateModel authenticateModel, bool isLogining)
        {
            AuthenticateResultModel authenticateResultModel = await tokenAuthServiceProxy.AuthenticateAsync(authenticateModel);

            LoginInfoCache.SetAuthenticateModelAndAuthenticateResultModel(authenticateModel, authenticateResultModel);
            return(authenticateResultModel);
        }
        /// <summary>
        /// 认证
        /// </summary>
        public AuthenticateResultModel Authorization(AuthenticateModel authenticateModel, bool isLogining)
        {
            AuthenticateResultModel authenticateResultModel = tokenAuthServiceProxy.Authenticate(authenticateModel);

            if (!isLogining)   //如果不是登录

            {
            }
            LoginInfoCache.SetAuthenticateModelAndAuthenticateResultModel(authenticateModel, authenticateResultModel);
            return(authenticateResultModel);
        }