diff --git a/authorization-dotnet/PasswordHasher/PasswordHasher.Api/PasswordHasher.Api.csproj b/authorization-dotnet/PasswordHasher/PasswordHasher.Api/PasswordHasher.Api.csproj index 34cf43e40d..48da60e9c0 100644 --- a/authorization-dotnet/PasswordHasher/PasswordHasher.Api/PasswordHasher.Api.csproj +++ b/authorization-dotnet/PasswordHasher/PasswordHasher.Api/PasswordHasher.Api.csproj @@ -1,14 +1,14 @@ - net8.0 + net10.0 enable enable - - + + diff --git a/authorization-dotnet/PasswordHasher/PasswordHasher.Api/Services/CustomerService.cs b/authorization-dotnet/PasswordHasher/PasswordHasher.Api/Services/CustomerService.cs index 075b708594..0b66cf5ff3 100644 --- a/authorization-dotnet/PasswordHasher/PasswordHasher.Api/Services/CustomerService.cs +++ b/authorization-dotnet/PasswordHasher/PasswordHasher.Api/Services/CustomerService.cs @@ -36,6 +36,7 @@ public LoginResult Login(LoginRequest request) switch (verificationResult) { case PasswordVerificationResult.Success: + // This sample deliberately ignores the rehash signal: code calling IPasswordHasher directly must rehash and save the password itself. case PasswordVerificationResult.SuccessRehashNeeded: return LoginResult.Success; default: diff --git a/authorization-dotnet/PasswordHasher/PasswordHasher.Benchmark.Tests/PasswordHasher.Benchmark.Tests.csproj b/authorization-dotnet/PasswordHasher/PasswordHasher.Benchmark.Tests/PasswordHasher.Benchmark.Tests.csproj index f19ffa36d2..adcf5c3d3b 100644 --- a/authorization-dotnet/PasswordHasher/PasswordHasher.Benchmark.Tests/PasswordHasher.Benchmark.Tests.csproj +++ b/authorization-dotnet/PasswordHasher/PasswordHasher.Benchmark.Tests/PasswordHasher.Benchmark.Tests.csproj @@ -2,19 +2,17 @@ Exe - net8.0 + net10.0 enable enable - + - - C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\8.0.4\Microsoft.Extensions.Identity.Core.dll - + diff --git a/authorization-dotnet/PasswordHasher/PasswordHasher.Tests/PasswordHasher.Tests.csproj b/authorization-dotnet/PasswordHasher/PasswordHasher.Tests/PasswordHasher.Tests.csproj index 9e67f3e18e..b0e8d9b024 100644 --- a/authorization-dotnet/PasswordHasher/PasswordHasher.Tests/PasswordHasher.Tests.csproj +++ b/authorization-dotnet/PasswordHasher/PasswordHasher.Tests/PasswordHasher.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable @@ -11,11 +11,11 @@ - - - - - + + + + +