using Bit.Core.Auth.UserFeatures.UserKey; using Bit.Core.Auth.UserFeatures.UserKey.Implementations; using Bit.Core.Auth.UserFeatures.UserMasterPassword; using Bit.Core.Auth.UserFeatures.UserMasterPassword.Interfaces; using Bit.Core.Auth.UserFeatures.WebAuthnLogin; using Bit.Core.Auth.UserFeatures.WebAuthnLogin.Implementations; using Bit.Core.Services; using Bit.Core.Settings; using Microsoft.Extensions.DependencyInjection; namespace Bit.Core.Auth.UserFeatures; public static class UserServiceCollectionExtensions { public static void AddUserServices(this IServiceCollection services, IGlobalSettings globalSettings) { services.AddScoped(); services.AddUserPasswordCommands(); services.AddWebAuthnLoginCommands(); } public static void AddUserKeyCommands(this IServiceCollection services, IGlobalSettings globalSettings) { services.AddScoped(); } private static void AddUserPasswordCommands(this IServiceCollection services) { services.AddScoped(); } private static void AddWebAuthnLoginCommands(this IServiceCollection services) { services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); } }