public GoogleCalendarServiceFactory(IDataStore dataStore,
                                     IGoogleObjectFactory objectFactory, HttpClient httpClient,
                                     ILivitConfiguration configuration,
                                     IGoogleAuthorizationCodeFlowFactory authorizationFlowFactory)
 {
     this.DataStore                = dataStore;
     this.ObjectFactory            = objectFactory;
     this.HttpClient               = httpClient;
     this.Configuration            = configuration;
     this.AuthorizationFlowFactory = authorizationFlowFactory;
 }
 public GoogleCalendarServiceAdapter(IAsyncUnitOfWork unitOfWork,
                                     IAsyncDataLoader dataLoader, IRepository repository,
                                     IGoogleCalendarServiceFactory serviceFactory, IDateTimeAdapter dateTimeAdapter,
                                     IGoogleObjectFactory objectFactory, ILivitConfiguration configuration)
     : base(unitOfWork, dataLoader)
 {
     this.Repository         = repository;
     this.ServiceFactory     = serviceFactory;
     this.ObjectFactory      = objectFactory;
     this.DateTimeAdapter    = dateTimeAdapter;
     this.LivitConfiguration = configuration;
 }
Exemple #3
0
 public GoogleAuthenticationService(IAsyncUnitOfWork unitOfWork,
                                    IAsyncDataLoader dataLoader, ILivitConfiguration configuration,
                                    HttpClient client, IDataStore dataStore, ITokenService tokenService,
                                    IGoogleAuthorizationCodeFlowFactory authorizationFlowFactory,
                                    IServiceObjectFactory objectFactory)
     : base(unitOfWork, dataLoader, configuration)
 {
     this.Client                   = client;
     this.DataStore                = dataStore;
     this.TokenService             = tokenService;
     this.ObjectFactory            = objectFactory;
     this.AuthorizationFlowFactory = authorizationFlowFactory;
 }
Exemple #4
0
 public DateTimeAdapter(ILivitConfiguration configuration)
 {
     this.Configuration = configuration;
 }
 public GoogleAuthorizationCodeFlowFactory(ILivitConfiguration configuration, IDataStore dataStore)
 {
     this.Configuration = configuration;
     this.DataStore     = dataStore;
 }
 protected AuthenticationServiceBase(IAsyncUnitOfWork unitOfWork, IAsyncDataLoader dataLoader,
                                     ILivitConfiguration configuration)
     : base(unitOfWork, dataLoader)
 {
     this.Configuration = configuration;
 }
Exemple #7
0
 public TokenService(ILivitConfiguration configuration, HttpClient client)
 {
     this.Configuration = configuration;
     this.HttpClient    = client;
 }