feat(audit): ScadaBridge IAuditActorAccessor + wire audit Actor from Auth principal at authenticated emit sites (Phase 3)
This commit is contained in:
@@ -8,10 +8,15 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
|
||||
<PackageReference Include="Microsoft.Extensions.Options" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authorization" />
|
||||
<!-- HttpAuditActorAccessor (Phase 3) + AddHttpContextAccessor read the
|
||||
authenticated principal off IHttpContextAccessor.HttpContext.User to
|
||||
source the audit Actor. The cookie-auth wiring in AddSecurity already
|
||||
lives here, so this is the natural home for the HTTP-backed
|
||||
principal-to-actor seam. The shared framework supplies IHttpContextAccessor
|
||||
/ HttpContext (and the AddHttpContextAccessor DI helper); it also supplies
|
||||
the Extensions.* + AspNetCore.Authentication/Authorization assemblies that
|
||||
were previously listed as PackageReferences (now pruned — NU1510). -->
|
||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" />
|
||||
<PackageReference Include="Novell.Directory.Ldap.NETStandard" />
|
||||
<PackageReference Include="ZB.MOM.WW.Auth.Abstractions" />
|
||||
|
||||
Reference in New Issue
Block a user