public static void AddAuthorizationRequestConsumers(this IServiceCollectionBusConfigurator configurator)
 {
     foreach (var messagesType in configurator.GetDiscoveredMessageTypes())
     {
         var consumerType = typeof(AuthorizationRequestMessageConsumer <>).MakeGenericType(messagesType);
         Log.Information("Registering consumer {ConsumerType}", consumerType);
         configurator.AddConsumer(consumerType);
         MessageTypeConsumerTypeMappings[messagesType] = consumerType;
     }
 }