public WebPushPushNotification(IOptions <WebPushNotificationConfig> options, IStoreRepositoryAccessorProvider pushStoreAccessorProvider, ILogger <WebPushPushNotification> logger)
        {
            _logger  = logger;
            _options = options.Value;

            _pushClient = new WebPushClient();
            _pushStoreAccessorProvider = pushStoreAccessorProvider;

            _pushClient.SetVapidDetails(_options.Subject, _options.PublicKey, _options.PrivateKey);
        }
 public WebPushMessagesDequeuer(IWebPushMessagesQueue messagesQueue, IStoreRepositoryAccessorProvider pushStoreAccessorProvider, IWebPushService pushService)
 {
     _pushStoreAccessorProvider = pushStoreAccessorProvider;
     _messagesQueue             = messagesQueue;
     _pushService = pushService;
 }