Пример #1
0
        public Stream FindByRefreshTokenString(string refreshTokenString)
        {
            IFindRefreshTokenBusinessService businessService = (IFindRefreshTokenBusinessService)BusinessFactory.Create(Keywords.FindRefreshToken);
            OperationResult result = businessService.FindByRefreshTokenString(Convert.ToString(refreshTokenString));

            return(result.ToJsonStream());
        }
Пример #2
0
        public Stream FindByExpiredDateBetween(string expiredDate1, string expiredDate2)
        {
            IFindRefreshTokenBusinessService businessService = (IFindRefreshTokenBusinessService)BusinessFactory.Create(Keywords.FindRefreshToken);
            OperationResult result = businessService.FindByExpiredDateBetween(Convert.ToDateTime(expiredDate1), Convert.ToDateTime(expiredDate2));

            return(result.ToJsonStream());
        }
Пример #3
0
        public Stream FindByAuthenticationCode(string authenticationCode)
        {
            IFindRefreshTokenBusinessService businessService = (IFindRefreshTokenBusinessService)BusinessFactory.Create(Keywords.FindRefreshToken);
            OperationResult result = businessService.FindByAuthenticationCode(Convert.ToString(authenticationCode));

            return(result.ToJsonStream());
        }