mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 08:11:10 +00:00
Adds Infrastructure security hashing service
This commit is contained in:
1 parent
3725426aa7
commit
e73556e915
3 files changed
+108
-1
No files matched your search
@@ -1,5 +1,7 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using FluentValidation;
|
||||
using Lumina.Application.Common.Infrastructure;
|
||||
using Lumina.Infrastructure.Core.Security;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System.Reflection;
|
||||
#endregion
|
||||
@@ -21,6 +23,7 @@ public static class InfrastructureLayerServices
|
||||
// scan the current assembly for validators and add them to the DI container
|
||||
services.AddValidatorsFromAssembly(Assembly.GetExecutingAssembly(), ServiceLifetime.Singleton);
|
||||
|
||||
services.AddTransient<IHashService, HashService>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user