Esempio n. 1
0
 public WebhookRouter(
     IWebhookDispatcher webhookDispatcher,
     IWebhooksRoutes webhooksWebhooksRoutes,
     IWebhooksHelper webhooksHelper)
 {
     _webhookDispatcher = webhookDispatcher;
     _webhooksRoutes    = webhooksWebhooksRoutes;
     _webhooksHelper    = webhooksHelper;
 }
Esempio n. 2
0
        public AccountActivityRequestHandler(
            IWebhookDispatcher dispatcher,
            IWebhooksRoutes routes,
            IWebhooksHelper webhooksHelper,
            IFactory <AccountActivityStream> accountActivityStreamFactory,
            ITwitterClient client)
        {
            _dispatcher = dispatcher;
            _accountActivityStreamFactory = accountActivityStreamFactory;
            _router = new WebhookRouter(dispatcher, routes, webhooksHelper);

            _consumerOnlyCredentials = new ConsumerOnlyCredentials(client.Credentials);
        }
Esempio n. 3
0
 public WebhooksRoutes(IWebhooksHelper webhooksHelper)
 {
     _webhooksHelper = webhooksHelper;
 }