using Microsoft.Extensions.DependencyInjection; using Tiku.Application.Auth; using Tiku.Application.Security; using Tiku.Infrastructure.Auth; using Tiku.Infrastructure.Security; namespace Tiku.Infrastructure; internal static class AuthModule { internal static IServiceCollection AddAuthModule(this IServiceCollection services) { services.AddSingleton(); services.AddScoped(); services.AddScoped(); services.AddScoped(provider => provider.GetRequiredService()); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); return services; } }