Template
Feature(Auth): Add Login and Refresh Token
This commit is contained in:
1 parent
bd7e505432
commit
dcc2e99bb1
20 files changed
+252
-20
No files matched your search
@@ -1,4 +1,6 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using RT.Application.Services.Contract;
|
||||
using RT.Application.Services.Implementation;
|
||||
|
||||
namespace RT.Application;
|
||||
|
||||
@@ -7,6 +9,8 @@ public static class DependencyInjection
|
||||
public static IServiceCollection AddApplication(this IServiceCollection services)
|
||||
{
|
||||
services.AddAutoMapper(cfg => cfg.AddMaps(typeof(DependencyInjection).Assembly));
|
||||
services.AddScoped<IAuthService, AuthService>();
|
||||
services.AddScoped<ITokenService, TokenService>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user