mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 03:11:10 +00:00
Simplifies and centralizes authorization for attributes, codes and views
This commit is contained in:
1 parent
8eb1b9f13c
commit
80f27eb24b
4 files changed
+157
-55
No files matched your search
@@ -218,6 +218,7 @@ public static class PresentationWebLayerServices
|
||||
|
||||
services.AddScoped<ApiExceptionFilter>();
|
||||
services.AddScoped<IAuthorizationHandler, InitializationHandler>();
|
||||
services.AddScoped<Authorization.IAuthorizationService, AuthorizationService>();
|
||||
services.AddSingleton<ICryptographyService, CryptographyService>();
|
||||
services.AddSingleton<IUrlService, UrlService>();
|
||||
services.AddHybridCache(); // used for caching authorization roles, permissions and policies
|
||||
|
||||
Reference in new issue
Block a user