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;
 }
Example #2
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;
 }