Exemple #1
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 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;
 }