Example #1
0
 public FitbitBearerAuthenticationHandler(
     IFitbitTokenService fitbitTokenService,
     IUserOperationContext userContext)
 {
     _fitbitTokenService = fitbitTokenService;
     _userContext        = userContext;
 }
Example #2
0
 public ObservationsService(
     IObservationsRepository repository,
     IUserOperationContext operationContext)
 {
     _repository       = repository;
     _operationContext = operationContext;
 }
Example #3
0
 public IntegrationService(
     IIntegrationRepository integrationRepository,
     IEnumerable <IIntegrationSystemService> integrationSystemServices,
     IUserOperationContext operationContext,
     IEventPublisher eventPublisher)
 {
     _integrationRepository     = integrationRepository;
     _integrationSystemServices = integrationSystemServices;
     _operationContext          = operationContext;
     _eventPublisher            = eventPublisher;
 }
Example #4
0
 public FitbitController(
     IFitbitService fitbitService,
     IIntegrationService integrationService,
     IUserOperationContext userOperationContext,
     ILogger <FitbitController> logger)
 {
     _fitbitService        = fitbitService ?? throw new ArgumentNullException(nameof(fitbitService));
     _integrationService   = integrationService ?? throw new ArgumentNullException(nameof(integrationService));
     _userOperationContext = userOperationContext ?? throw new ArgumentNullException(nameof(userOperationContext));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Example #5
0
 public StravaController(
     IIntegrationService integrationService,
     IStravaAuthenticationService stravaAuthenticationService,
     IStravaSubscriptionService stravaSubscriptionService,
     IStravaUpdateService stravaUpdateService,
     IUserOperationContext operationContext,
     ILogger <StravaController> logger)
 {
     _integrationService          = integrationService;
     _stravaAuthenticationService = stravaAuthenticationService;
     _stravaSubscriptionService   = stravaSubscriptionService;
     _stravaUpdateService         = stravaUpdateService;
     _operationContext            = operationContext;
     _logger = logger;
 }
Example #6
0
 public HealthRecordService(IFhirClient fhirClient, IUserOperationContext userContext)
 {
     _fhirClient  = fhirClient;
     _userContext = userContext;
 }