using Features.Auth.Repository;
using Features.Auth.Services;
using Infrastructure.PasswordHashing;
using Microsoft.Extensions.DependencyInjection;
namespace Features.Auth.DependencyInjection;
/// Registers the services required by Features.Auth with the dependency injection container.
public static class FeaturesAuthServiceCollectionExtensions
{
///
/// Adds , , and the Argon2 password hashing
/// infrastructure as scoped services.
///
public static IServiceCollection AddFeaturesAuth(this IServiceCollection services)
{
services.AddScoped();
services.AddScoped();
services.AddScoped();
return services;
}
}