Beispiel #1
0
 public static void AddRevocation(this IServiceCollection services,
                                  IRevocationMessageHandler revocationMessageHandler, HttpClient httpClient)
 {
     services.AddSingleton <HttpClient>(httpClient);
     services.AddSingleton <IRevocationMessageHandler>(revocationMessageHandler);
 }
 public WebhookReceiver(ILogger <WebhookReceiver> logger, HttpClient httpClient, IRevocationMessageHandler messageHandler)
 {
     _logger             = logger;
     _httpClient         = httpClient;
     this.messageHandler = messageHandler;
 }