16 lines
456 B
C#
16 lines
456 B
C#
using DigitalData.Core.Abstractions.Security;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.DependencyInjection.Extensions;
|
|
|
|
namespace DigitalData.Core.Security
|
|
{
|
|
public static class DIExtensions
|
|
{
|
|
public static IServiceCollection AddSecurity(this IServiceCollection services)
|
|
{
|
|
services.TryAddScoped<IAsymCryptService, AsymCryptService>();
|
|
|
|
return services;
|
|
}
|
|
}
|
|
} |