Beispiel #1
0
 public GoogleApiService(
     IGoogleApi googleApi,
     ITelemetryService telemetryService,
     ILogger logger)
     : base(googleApi, telemetryService, logger.ForContext <GoogleApiService>())
 {
 }
 public AuthService(
     IGoogleApi googleApiClient,
     ICustomerManagementServiceClient customerManagementServiceClient,
     IMapper mapper)
 {
     _googleApiClient = googleApiClient;
     _customerManagementServiceClient = customerManagementServiceClient;
     _mapper = mapper;
 }
Beispiel #3
0
 public CustomerService(
     ICustomerManagementServiceClient customerManagementServiceClient,
     ICustomerProfileClient customerProfileClient,
     IGoogleApi googleApiClient,
     IDictionariesClient dictionariesClient,
     IMapper mapper)
 {
     _customerManagementServiceClient = customerManagementServiceClient;
     _customerProfileClient           = customerProfileClient;
     _googleApiClient    = googleApiClient;
     _dictionariesClient = dictionariesClient;
     _mapper             = mapper;
 }
Beispiel #4
0
        public BaseGoogleApiService(
            IGoogleApi googleApi,
            ITelemetryService telemetryService,
            ILogger logger)
        {
            _googleApi        = googleApi;
            _telemetryService = telemetryService;
            _logger           = logger;

            _clientId     = Secrets.ClientId;
            _clientSecret = Secrets.ClientSecret;
            _redirectUrl  = Secrets.RedirectUrl;
        }
Beispiel #5
0
 internal GoogleBusiness(IConfigurationRoot configuration, IServiceProvider serviceProvider)
 {
     Api = (IGoogleApi)serviceProvider.GetService(typeof(IGoogleApi));
 }