using Microsoft.AspNetCore.Authentication; using Microsoft.Extensions.DependencyInjection; namespace Admin.NET.Plugin.AiDOP.DataPlatform.UnifiedIngress; public static class MdpIngestServiceCollectionExtensions { public static IServiceCollection AddMdpUnifiedIngress(this IServiceCollection services) { services.AddTransient(); services.AddScoped(); services.AddScoped(); services.AddSingleton(); services.AddAuthentication().AddScheme( MdpIngestProtocol.AuthenticationScheme, _ => { }); return services; } }