diff --git a/src/NetDevPack.Security.Jwt.AspNetCore/NetDevPack.Security.Jwt.AspNetCore.csproj b/src/NetDevPack.Security.Jwt.AspNetCore/NetDevPack.Security.Jwt.AspNetCore.csproj index 39cfae5..38be550 100644 --- a/src/NetDevPack.Security.Jwt.AspNetCore/NetDevPack.Security.Jwt.AspNetCore.csproj +++ b/src/NetDevPack.Security.Jwt.AspNetCore/NetDevPack.Security.Jwt.AspNetCore.csproj @@ -18,13 +18,13 @@ - + diff --git a/src/NetDevPack.Security.Jwt.Core/NetDevPack.Security.Jwt.Core.csproj b/src/NetDevPack.Security.Jwt.Core/NetDevPack.Security.Jwt.Core.csproj index b6c0418..bc153d0 100644 --- a/src/NetDevPack.Security.Jwt.Core/NetDevPack.Security.Jwt.Core.csproj +++ b/src/NetDevPack.Security.Jwt.Core/NetDevPack.Security.Jwt.Core.csproj @@ -17,11 +17,23 @@ - - + + + + + + + + + + - - + + + + + + diff --git a/tests/NetDevPack.Security.Jwt.Tests/JwtTests/JwtServiceTest.cs b/tests/NetDevPack.Security.Jwt.Tests/JwtTests/JwtServiceTest.cs index 2ece67e..7f43f3a 100644 --- a/tests/NetDevPack.Security.Jwt.Tests/JwtTests/JwtServiceTest.cs +++ b/tests/NetDevPack.Security.Jwt.Tests/JwtTests/JwtServiceTest.cs @@ -64,6 +64,7 @@ public async Task ShouldGenerateFiveKeys() } } +#if NET5_0_OR_GREATER [Fact] public async Task ShouldValidateJweAndJws() @@ -118,7 +119,7 @@ public async Task ShouldValidateJweAndJws() jweResult.IsValid.Should().BeTrue(); } - +#endif public Faker GenerateClaim() diff --git a/tests/NetDevPack.Security.Jwt.Tests/NetDevPack.Security.Jwt.Tests.csproj b/tests/NetDevPack.Security.Jwt.Tests/NetDevPack.Security.Jwt.Tests.csproj index b573075..d6e2e25 100644 --- a/tests/NetDevPack.Security.Jwt.Tests/NetDevPack.Security.Jwt.Tests.csproj +++ b/tests/NetDevPack.Security.Jwt.Tests/NetDevPack.Security.Jwt.Tests.csproj @@ -24,7 +24,6 @@ - @@ -38,6 +37,7 @@ + @@ -45,6 +45,7 @@ + @@ -52,5 +53,6 @@ + diff --git a/tests/NetDevPack.Security.Jwt.Tests/Warmups/WarmupDatabaseInMemory.cs b/tests/NetDevPack.Security.Jwt.Tests/Warmups/WarmupDatabaseInMemory.cs index 26b130b..3151700 100644 --- a/tests/NetDevPack.Security.Jwt.Tests/Warmups/WarmupDatabaseInMemory.cs +++ b/tests/NetDevPack.Security.Jwt.Tests/Warmups/WarmupDatabaseInMemory.cs @@ -1,10 +1,8 @@ using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -using NetDevPack.Security.Jwt.Core; using NetDevPack.Security.Jwt.Core.Interfaces; using NetDevPack.Security.Jwt.Core.Jwa; -using NetDevPack.Security.Jwt.Store.EntityFrameworkCore; namespace NetDevPack.Security.Jwt.Tests.Warmups;