public CreateStravaSubscription(IStravaSubscriptionService stravaSubscriptionService, IConfiguration configuration) { this.stravaSubscriptionService = stravaSubscriptionService; this.HostName = configuration["SportClubsChallengeAzureFunctionsUrl"]; this.ClientId = configuration["StravaClientId"]; this.ClientSecret = configuration["StravaClientSecret"]; }
public StravaAdminController( IStravaSubscriptionService stravaSubscriptionService, IHttpContextAccessor httpContextAccessor, IEventHandler eventHandler, ILogger <StravaAdminController> logger) { _stravaSubscriptionService = stravaSubscriptionService; _httpContextAccessor = httpContextAccessor; _eventHandler = eventHandler; _logger = logger; }
public StravaUpdateService( IStravaSubscriptionService stravaSubscriptionService, IIntegrationRepository integrationRepository, IEventPublisher eventPublisher, IOperationContext operationContext, IDateTimeProvider dateTimeProvider, ILogger <StravaIntegrationService> logger) { _stravaSubscriptionService = stravaSubscriptionService; _integrationRepository = integrationRepository; _eventPublisher = eventPublisher; _operationContext = operationContext; _dateTimeProvider = dateTimeProvider; _logger = logger; }
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; }
public ViewStravaSubscription(IStravaSubscriptionService stravaSubscriptionService, IConfiguration configuration) { this.stravaSubscriptionService = stravaSubscriptionService; this.ClientId = configuration["StravaClientId"]; this.ClientSecret = configuration["StravaClientSecret"]; }