public PexController(
     IPexApiClient pexApiClient,
     PexOAuthSessionStorage pexOAuthSessionStorage,
     Pex2AplosMappingStorage pex2AplosMappingStorage)
 {
     _pexApiClient            = pexApiClient;
     _pex2AplosMappingStorage = pex2AplosMappingStorage;
     _pexOAuthSessionStorage  = pexOAuthSessionStorage;
 }
Example #2
0
 public AplosController(
     PexOAuthSessionStorage pexOAuthSessionStorage,
     Pex2AplosMappingStorage pex2AplosMappingStorage,
     IAplosIntegrationService aplosIntegrationService)
 {
     _pex2AplosMappingStorage = pex2AplosMappingStorage;
     _pexOAuthSessionStorage  = pexOAuthSessionStorage;
     _aplosIntegrationService = aplosIntegrationService;
 }
Example #3
0
 public TokenRefresher(Pex2AplosMappingStorage mappingStorage,
                       PexOAuthSessionStorage sessionStorage,
                       IPexApiClient pexApiClient,
                       SyncResultStorage resultStorage,
                       ILogger <TokenRefresher> log)
 {
     _mappingStorage = mappingStorage;
     _sessionStorage = sessionStorage;
     _pexApiClient   = pexApiClient;
     _resultStorage  = resultStorage;
     _log            = log;
 }
 public SessionController(
     PexOAuthSessionStorage pexOAuthSessionStorage,
     Pex2AplosMappingStorage pex2AplosMappingStorage,
     IOptions <AppSettingsModel> appSettings,
     IHttpClientFactory clientFactory,
     IPexApiClient pexApiClient,
     IAplosIntegrationService aplosIntegrationService)
 {
     _pexOAuthSessionStorage  = pexOAuthSessionStorage;
     _pex2AplosMappingStorage = pex2AplosMappingStorage;
     _appSettings             = appSettings.Value;
     _clientFactory           = clientFactory;
     _pexApiClient            = pexApiClient;
     _aplosIntegrationService = aplosIntegrationService;
 }
 public MappingController(
     PexOAuthSessionStorage pexOAuthSessionStorage,
     Pex2AplosMappingStorage pex2AplosMappingStorage,
     SyncResultStorage syncResultStorage,
     Pex2AplosMappingQueue mappingQueue,
     IAplosIntegrationService aplosIntegrationService,
     IOptions <AppSettingsModel> appSettings)
 {
     _pexOAuthSessionStorage  = pexOAuthSessionStorage;
     _pex2AplosMappingStorage = pex2AplosMappingStorage;
     _syncResultStorage       = syncResultStorage;
     _mappingQueue            = mappingQueue;
     _aplosIntegrationService = aplosIntegrationService;
     _appSettings             = appSettings?.Value;
 }