Symmetric keys with jwt has been implemented

This commit is contained in:
Kun Deng
2022-09-04 20:34:33 -04:00
parent 00ef8d0242
commit d5944c470b
4 changed files with 83 additions and 26 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ namespace Icarus
services.AddDbContext<GenreContext>(options => options.UseMySQL(connString));
services.AddDbContext<CoverArtContext>(options => options.UseMySQL(connString));
services.AddAsymmetricAuthentication(Configuration);
// services.AddAsymmetricAuthentication(Configuration);
/**
services.AddTransient<AuthenticationService>(au => new AuthenticationService(new UserService(Configuration), new TokenService(Configuration), Configuration));