Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit 36955aa

Browse files
update to 5.2.0
1 parent af6d489 commit 36955aa

File tree

10 files changed

+23
-31
lines changed

10 files changed

+23
-31
lines changed

build.ps1

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
$CakeVersion = "0.30.0"
2-
31
$TOOLS_DIR = Join-Path $PSScriptRoot "tools"
42
$NUGET_EXE = Join-Path $TOOLS_DIR "nuget.exe"
53
$NUGET_URL = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"

build/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace build
77
{
88
internal static class Program
99
{
10-
private const string NugetPackageVersion = "5.1.0";
10+
private const string NugetPackageVersion = "5.2.0";
1111

1212
private const string packOutput = "./artifacts";
1313
private const string envVarMissing = " environment variable is missing. Aborting.";

src/IdentityServerAspNetIdentity/IdentityServerAspNetIdentity.csproj

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Duende.IdentityServer.AspNetIdentity" Version="5.1.0" />
8+
<PackageReference Include="Duende.IdentityServer.AspNetIdentity" Version="5.2.0" />
99

10-
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="3.1.13" />
11-
<PackageReference Include="Serilog.AspNetCore" Version="4.0.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="3.1.0" />
11+
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
1212

13-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.13" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.13" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.13">
13+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.0" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>
1919

20-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.13" />
21-
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.13" />
20+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.0" />
21+
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.0" />
2222
</ItemGroup>
2323
</Project>

src/IdentityServerEmpty/IdentityServerEmpty.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Duende.IdentityServer" Version="5.1.0" />
8+
<PackageReference Include="Duende.IdentityServer" Version="5.2.0" />
99

10-
<PackageReference Include="Serilog.AspNetCore" Version="4.0.0" />
10+
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
1111
</ItemGroup>
1212
</Project>

src/IdentityServerEntityFramework/IdentityServerEntityFramework.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Duende.IdentityServer.EntityFramework" Version="5.1.0" />
8+
<PackageReference Include="Duende.IdentityServer.EntityFramework" Version="5.2.0" />
99

10-
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="3.1.13" />
10+
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="3.1.0" />
1111
<PackageReference Include="Serilog.AspNetCore" Version="4.0.0" />
1212

13-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.13" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.13" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.13">
13+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.0" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>

src/IdentityServerEntityFramework/Quickstart/Account/AccountController.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public AccountController(
4242
IEventService events,
4343
TestUserStore users = null)
4444
{
45-
// if the TestUserStore is not in DI, then we'll just use the global users collection
4645
// this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
47-
_users = users ?? new TestUserStore(TestUsers.Users);
46+
_users = users ?? throw new Exception("Please call 'AddTestUsers(TestUsers.Users)' on the IIdentityServerBuilder in Startup or remove the TestUserStore from the AccountController.");
4847

4948
_interaction = interaction;
5049
_clientStore = clientStore;

src/IdentityServerEntityFramework/Quickstart/Account/ExternalController.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ public ExternalController(
3838
ILogger<ExternalController> logger,
3939
TestUserStore users = null)
4040
{
41-
// if the TestUserStore is not in DI, then we'll just use the global users collection
4241
// this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
43-
_users = users ?? new TestUserStore(TestUsers.Users);
42+
_users = users ?? throw new Exception("Please call 'AddTestUsers(TestUsers.Users)' on the IIdentityServerBuilder in Startup or remove the TestUserStore from the AccountController.");
4443

4544
_interaction = interaction;
4645
_clientStore = clientStore;
@@ -75,7 +74,6 @@ public IActionResult Challenge(string scheme, string returnUrl)
7574
};
7675

7776
return Challenge(props, scheme);
78-
7977
}
8078

8179
/// <summary>

src/IdentityServerInMem/IdentityServerInMem.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Duende.IdentityServer" Version="5.1.0" />
8+
<PackageReference Include="Duende.IdentityServer" Version="5.2.0" />
99

10-
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="3.1.13" />
11-
<PackageReference Include="Serilog.AspNetCore" Version="4.0.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="3.1.0" />
11+
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
1212
</ItemGroup>
1313

1414
</Project>

src/IdentityServerInMem/Quickstart/Account/AccountController.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public AccountController(
4242
IEventService events,
4343
TestUserStore users = null)
4444
{
45-
// if the TestUserStore is not in DI, then we'll just use the global users collection
4645
// this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
47-
_users = users ?? new TestUserStore(TestUsers.Users);
46+
_users = users ?? throw new Exception("Please call 'AddTestUsers(TestUsers.Users)' on the IIdentityServerBuilder in Startup or remove the TestUserStore from the AccountController.");
4847

4948
_interaction = interaction;
5049
_clientStore = clientStore;

src/IdentityServerInMem/Quickstart/Account/ExternalController.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ public ExternalController(
3838
ILogger<ExternalController> logger,
3939
TestUserStore users = null)
4040
{
41-
// if the TestUserStore is not in DI, then we'll just use the global users collection
4241
// this is where you would plug in your own custom identity management library (e.g. ASP.NET Identity)
43-
_users = users ?? new TestUserStore(TestUsers.Users);
42+
_users = users ?? throw new Exception("Please call 'AddTestUsers(TestUsers.Users)' on the IIdentityServerBuilder in Startup or remove the TestUserStore from the AccountController.");
4443

4544
_interaction = interaction;
4645
_clientStore = clientStore;
@@ -75,7 +74,6 @@ public IActionResult Challenge(string scheme, string returnUrl)
7574
};
7675

7776
return Challenge(props, scheme);
78-
7977
}
8078

8179
/// <summary>

0 commit comments

Comments
 (0)