last ...
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user