using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Components.Authorization; using Blazored.LocalStorage; using Auth.RCL.Services; namespace Auth.RCL.Config { public static class AuthModuleExtensions { public static IServiceCollection AuthModuleServices(this IServiceCollection services) { services.AddScoped(); // services.AddScoped(sp => (ApiAuthenticationStateProvider)sp.GetRequiredService()); services.AddScoped(); services.AddScoped(); return services; } } }