197731ae2d
Bump all four ZB.MOM.WW.Auth.* package refs 0.1.2 -> 0.1.4. The shared ApiKeyVerifier now rejects any key whose ExpiresUtc is in the past; existing keys have NULL expiry (never expire), so nothing breaks, and the auth SQLite DB auto-migrates to schema v3 (nullable expires_utc column) on first boot. Implement the two IApiKeyAdminStore members added in 0.1.3 (SetScopesAsync/SetEnabledAsync) on the test FakeApiKeyAdminStore. Build green; no new test failures (the macOS worker-pipe IPC failures are pre-existing/environmental, identical to the pre-bump baseline).
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
|
<PackageReference Include="xunit" Version="2.9.3" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
DashboardLdapLiveTests directly references the shared LDAP provider's public
|
|
types (LdapAuthService / LdapOptions), so declare direct dependencies rather
|
|
than rely on the transitive flow through the Server ProjectReference
|
|
(IntegrationTests-027). Versions match the Server's pinned 0.1.2. The
|
|
configuration packages back the production-fidelity MxGateway:Ldap binding the
|
|
live-test fixture uses in place of the old field-by-field hand-copy
|
|
(IntegrationTests-028).
|
|
-->
|
|
<ItemGroup>
|
|
<PackageReference Include="ZB.MOM.WW.Auth.Abstractions" Version="0.1.4" />
|
|
<PackageReference Include="ZB.MOM.WW.Auth.Ldap" Version="0.1.4" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.7" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.7" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ZB.MOM.WW.MxGateway.Contracts\ZB.MOM.WW.MxGateway.Contracts.csproj" />
|
|
<ProjectReference Include="..\ZB.MOM.WW.MxGateway.Server\ZB.MOM.WW.MxGateway.Server.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|