hunk.code_window:                     } else if (expiresInResponse != null) {
                           expiresAt = issuedAt.plusSeconds(Long.valueOf((Integer) expiresInResponse));
                       }
                       authenticationResponse.setExpiresAt(expiresAt);
                       authenticationResponse.setIssuedAt(issuedAt);
                       if (mappedResponse.containsKey(Authentication.REFRESH_TOKEN)) {
                           authenticationResponse.setRefreshToken(String.valueOf(mappedResponse.get(Authentication.REFRESH_TOKEN)));
  
hunk.labels: keep replace keep keep keep keep keep
hunk.after_edit:                         expiresAt = issuedAt.plusSeconds(Long.parseLong(String.valueOf(expiresInResponse)));
  
hunk.file_path: app/server/appsmith-plugins/restApiPlugin/src/main/java/com/external/connections/OAuth2AuthorizationCode.java
hunk.type: replace
file: package com.appsmith.server.controllers;
  
  import com.appsmith.server.constants.Url;
  import com.appsmith.server.controllers.ce.DatasourceControllerCE;
  import com.appsmith.server.services.DatasourceService;
  import com.appsmith.server.services.MockDataService;
  import com.appsmith.server.solutions.AuthenticationService;
  import com.appsmith.server.solutions.DatasourceStructureSolution;
  import com.appsmith.server.solutions.DatasourceTriggerSolution;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RestController;
  
  @RestController
  @RequestMapping(Url.DATASOURCE_URL)
  public class DatasourceController extends DatasourceControllerCE {
  
      public DatasourceController(DatasourceService service,
                                  DatasourceStructureSolution datasourceStructureSolution,
                                  AuthenticationService authenticationService,
                                  MockDataService datasourceService,
                                  DatasourceTriggerSolution datasourceTriggerSolution) {
  
          super(service, datasourceStructureSolution, authenticationService, datasourceService, datasourceTriggerSolution);
      }
  }
  