public async Task <IActionResult> RefreshToken() { var newToken = await _tokenHandler.RefreshTokenAsync(Request.Headers["Authorization"], DateTime.Now.AddDays(2)); return(Ok(new { token = newToken })); }