Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 6c72a83

Browse files
updated packages
1 parent a097f3c commit 6c72a83

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

src/IdentityModel.AspNetCore.OAuth2Introspection/IdentityModel.AspNetCore.OAuth2Introspection.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>ASP.NET Core 2.0 Middleware for validating tokens using OAuth 2.0 introspection</Description>
5-
<VersionPrefix>3.1.0</VersionPrefix>
5+
<VersionPrefix>3.2.0</VersionPrefix>
66
<!--<VersionSuffix>preview1</VersionSuffix>-->
77
<Authors>Dominick Baier;Brock Allen</Authors>
88
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
@@ -24,10 +24,10 @@
2424
</PropertyGroup>
2525

2626
<ItemGroup>
27-
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.7.4" PrivateAssets="all" />
28-
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.0.1" />
29-
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.0.1" />
30-
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.0.0" />
31-
<PackageReference Include="IdentityModel" Version="3.0.0" />
27+
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.8.0" PrivateAssets="all" />
28+
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.0.3" />
29+
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.0.2" />
30+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.0.1" />
31+
<PackageReference Include="IdentityModel" Version="3.4.0" />
3232
</ItemGroup>
3333
</Project>

test/Tests/Configuration.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void Empty_Options()
2020
Action act = () => PipelineFactory.CreateClient((options) => { })
2121
.GetAsync("http://test").GetAwaiter().GetResult();
2222

23-
act.ShouldThrow<InvalidOperationException>()
23+
act.Should().Throw<InvalidOperationException>()
2424
.WithMessage("You must either set Authority or IntrospectionEndpoint");
2525
}
2626

@@ -32,7 +32,7 @@ public void Authority_No_Scope_Details()
3232
options.Authority = "http://foo";
3333
}).GetAsync("http://test").GetAwaiter().GetResult();
3434

35-
act.ShouldThrow<InvalidOperationException>()
35+
act.Should().Throw<InvalidOperationException>()
3636
.WithMessage("You must either set a ClientId or set an introspection HTTP handler");
3737
}
3838

@@ -46,7 +46,7 @@ public void No_Token_Retriever()
4646
options.TokenRetriever = null;
4747
}).GetAsync("http://test").GetAwaiter().GetResult();
4848

49-
act.ShouldThrow<ArgumentException>()
49+
act.Should().Throw<ArgumentException>()
5050
.Where(e => e.Message.StartsWith("TokenRetriever must be set"));
5151
}
5252

@@ -60,7 +60,7 @@ public void Endpoint_But_No_Authority()
6060

6161
}).GetAsync("http://test").GetAwaiter().GetResult();
6262

63-
act.ShouldNotThrow();
63+
act.Should().NotThrow();
6464
}
6565

6666
[Fact]
@@ -74,7 +74,7 @@ public void Caching_With_Caching_Service()
7474

7575
}, addCaching: true).GetAsync("http://test").GetAwaiter().GetResult();
7676

77-
act.ShouldNotThrow();
77+
act.Should().NotThrow();
7878
}
7979

8080
[Fact]
@@ -88,7 +88,7 @@ public void Caching_Without_Caching_Service()
8888

8989
}).GetAsync("http://test").GetAwaiter().GetResult();
9090

91-
act.ShouldThrow<ArgumentException>()
91+
act.Should().Throw<ArgumentException>()
9292
.Where(e => e.Message.StartsWith("Caching is enabled, but no IDistributedCache is found in the services collection"));
9393
}
9494

@@ -102,7 +102,7 @@ public void No_ClientName_But_Introspection_Handler()
102102

103103
}).GetAsync("http://test").GetAwaiter().GetResult();
104104

105-
act.ShouldNotThrow();
105+
act.Should().NotThrow();
106106
}
107107

108108
[Fact]
@@ -114,7 +114,7 @@ public void Authority_No_Network_Delay_Load()
114114
options.ClientId = "scope";
115115
}).GetAsync("http://test").GetAwaiter().GetResult();
116116

117-
act.ShouldNotThrow();
117+
act.Should().NotThrow();
118118
}
119119

120120
[Fact]

test/Tests/Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
1717
<PackageReference Include="xunit" Version="2.3.1" />
18-
<PackageReference Include="FluentAssertions" Version="4.19.4" />
19-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.0.1" />
18+
<PackageReference Include="FluentAssertions" Version="5.2.0" />
19+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.0.2" />
2020
</ItemGroup>
2121

2222
<ItemGroup>

0 commit comments

Comments
 (0)