public async Task <IActionResult> GetTokenByRefresh(RefreshTokenRequest request) { if (IsRefreshTokenRequestValid(request)) { return(new JsonResult(await authCodeService.GenerateTokenByRefreshTokenAsync(request))); } return(UnprocessableEntity()); }
public async Task <IActionResult> GetTokenByRefresh(RefreshTokenRequest request) { if (IsRefreshTokenRequestValid(request)) { return(new JsonResult(await authCodeService.GenerateTokenByRefreshTokenAsync(request))); } return(UnprocessableEntity()); }