This commit is contained in:
2026-11-27 19:21:47 +03:30
parent 384cffac36
commit 9d913146e1
6 changed files with 619 additions and 111 deletions
+6 -1
View File
@@ -14,12 +14,13 @@ using xMessageService.DI;
using xStorageService.DI;
using xCommons.Extensions;
using xIds.Configurations;
using xIdentityService.DI;
using xExceptions.Constants;
using xCommons.Authorization;
using System.Collections.Generic;
using xMessageService.Interfaces;
using xStorageService.Interfaces;
using xIdentityService.Providers;
using xIdentityService.Extensions;
using xIdentityService.Interfaces;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Logging;
@@ -95,6 +96,10 @@ namespace xIds.DI
source.AddScoped<IXScopeProvider, XScopeProvider>();
source.AddScoped<IXPolicyProvider, XPolicyProvider>();
//
source.AddXAuthorizationCache();
source.AddScoped<IXRoleHierarchyResolver, XRoleHierarchyResolver>();
//
source.AddXAuthorizationProvider();
}