Add JWT auth, token service & Neutrino endpoint
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using RecNet.Application.Services.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace RecNet.Application;
|
||||
|
||||
@@ -9,8 +8,9 @@ public static class DependencyInjection
|
||||
{
|
||||
services.AddAutoMapper(_ => { }, typeof(DependencyInjection).Assembly);
|
||||
|
||||
services.AddScoped<IConfigService, ConfigService>();
|
||||
// Usually there would be CQRS, but I'm rushing out this server, so I didn't feel like adding it.
|
||||
// Enjoy a VERY barebones application layer :D
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user