Beispiel #1
0
        public async Task <IActionResult> RefreshToken(string refreshToken)
        {
            var result = await _dbService.CreateNewRefreshAndAccessTokenAsync(refreshToken);

            ObjectResult response = new ObjectResult(result)
            {
                StatusCode = 201
            };

            return(response);
        }