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

Commit b0f2ac0

Browse files
authored
Merge pull request #126 from DuendeSoftware/joe/release-prep
Final polish for release
2 parents 6cf492d + 5842302 commit b0f2ac0

File tree

13 files changed

+104
-19
lines changed

13 files changed

+104
-19
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# MacOS
2+
.DS_Store
3+
14
# Rider
25
.idea
36

Directory.Build.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup Condition=" '$(TargetFramework)' == 'net8.0'">
3-
<FrameworkVersion>8.0.3</FrameworkVersion>
3+
<FrameworkVersion>8.0.1</FrameworkVersion>
44
<ExtensionsVersion>8.0.0</ExtensionsVersion>
55
<WilsonVersion>7.1.2</WilsonVersion>
6-
<IdentityServerVersion>7.0.5</IdentityServerVersion>
6+
<IdentityServerVersion>7.0.6</IdentityServerVersion>
77
</PropertyGroup>
88

99
<ItemGroup>

README.md

+24-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
# Duende.AccessTokenManagement
2-
Automatic access token management for machine to machine and user-centric OAuth and OIDC flows
1+
## About Duende.AccessTokenManagement
2+
This is the repository for a set of .NET libraries that manage OAuth and OpenId
3+
Connect access tokens. These tools automatically acquire new tokens when old
4+
tokens are about to expire, provide conveniences for using the current token
5+
with HTTP clients, and can revoke tokens that are no longer needed.
36

4-
[Documentation](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/wiki)
7+
## Packages
8+
The libraries in this repository are distributed as NuGet packages.
9+
10+
- [Duende.AccessTokenManagement](https://www.nuget.org/packages/Duende.AccessTokenManagement) manages tokens acquired in machine-to-machine flows in
11+
[.NET workers](https://learn.microsoft.com/en-us/dotnet/core/extensions/workers) and [ASP.NET Core worker services](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services).
12+
- [Duende.AccessTokenManagement.OpenIdConnect](https://www.nuget.org/packages/Duende.AccessTokenManagement.OpenIdConnect)
13+
manages tokens acquired in user-centric flows in [ASP.NET Core](https://dotnet.microsoft.com/en-us/apps/aspnet)
14+
applications.
15+
16+
## Documentation
17+
Documentation is available [here](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/wiki).
18+
19+
## License and Feedback
20+
Duende.AccessTokenManagement is released as open source under the
21+
[Apache 2.0 license](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/blob/main/LICENSE).
22+
[Bug reports, feature requests](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/issues) and
23+
[contributions](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/pulls) are welcome.
24+
If you have an idea for a new feature or significant code change you'd like to propose, please start with a
25+
GitHub issue so that we can discuss it. Thanks in advance!

samples/BlazorServer/BlazorServer.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.3" />
12-
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
11+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.7" />
12+
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

samples/Web/Web.csproj

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

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.3" />
10-
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
9+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.7" />
10+
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

samples/WebJarJwt/WebJarJwt.csproj

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

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.3" />
10-
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
9+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.7" />
10+
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

samples/Worker/Worker.csproj

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

88
<ItemGroup>
9-
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
10-
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.1.2" />
9+
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
10+
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.0.1" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

samples/WorkerDI/WorkerDI.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
9+
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
1010
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.1.2" />
1111
</ItemGroup>
1212

src/Duende.AccessTokenManagement.OpenIdConnect/Duende.AccessTokenManagement.OpenIdConnect.csproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
<TargetFrameworks>net8.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7-
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
88
<PackageId>Duende.AccessTokenManagement.OpenIdConnect</PackageId>
99
<Description>Automatic access token management for interactive OpenIdConnect-based ASP.NET Core applications</Description>
1010
</PropertyGroup>
1111

12+
<ItemGroup>
13+
<None Include="README.md" Pack="true" PackagePath=""/>
14+
</ItemGroup>
15+
1216
<ItemGroup>
1317
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1418

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## About Duende.AccessTokenManagement.OpenIdConnect
2+
Duende.AccessTokenManagement.OpenIdConnect is a .NET library that manages OpenId
3+
Connect access tokens in [ASP.NET Core](https://dotnet.microsoft.com/en-us/apps/aspnet)
4+
applications. It will acquire new tokens when old tokens are about to expire, provides conveniences to
5+
automatically use the current token with HTTP clients, and can revoke refresh tokens that are no longer needed.
6+
7+
## Documentation
8+
Documentation is available [here](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/wiki/web-applications).
9+
10+
## Related Packages
11+
- Foundational library for claims-based identity, OAuth 2.0 and OpenId Connect: [IdentityModel](https://www.nuget.org/packages/IdentityModel)
12+
- Token management for machine-to-machine workflows in .NET workers: [Duende.AccessTokenManagement](https://www.nuget.org/packages/Duende.AccessTokenManagement)
13+
14+
## License and Feedback
15+
Duende.AccessTokenManagement.OpenIdConnect is released as open source under the
16+
[Apache 2.0 license](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/blob/main/LICENSE).
17+
[Bug reports, feature requests](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/issues) and
18+
[contributions](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/pulls) are welcome.
19+
If you have an idea for a new feature or significant code change you'd like to propose, please start with a
20+
GitHub issue so that we can discuss it. Thanks in advance!

src/Duende.AccessTokenManagement/Duende.AccessTokenManagement.csproj

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
<TargetFrameworks>net8.0</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7-
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
88
<PackageId>Duende.AccessTokenManagement</PackageId>
99
<Description>Automatic access token management for OAuth client credential flows</Description>
1010
</PropertyGroup>
1111

12-
12+
<ItemGroup>
13+
<None Include="README.md" Pack="true" PackagePath=""/>
14+
</ItemGroup>
15+
1316
<ItemGroup>
1417
<PackageReference Include="IdentityModel" Version="7.0.0" />
1518

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## About Duende.AccessTokenManagement
2+
Duende.AccessTokenManagement is a .NET library that manages OAuth
3+
access tokens in [.NET workers](https://learn.microsoft.com/en-us/dotnet/core/extensions/workers)
4+
and [ASP.NET Core worker services](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services).
5+
It will acquire new tokens when old tokens are about to expire and provides conveniences to
6+
automatically use the current token with HTTP clients.
7+
8+
## Documentation
9+
Documentation is available [here](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/wiki).
10+
11+
## Related Packages
12+
- Foundational library for claims-based identity, OAuth 2.0 and OpenId Connect: [IdentityModel](https://www.nuget.org/packages/IdentityModel)
13+
- Token management for user-centric flows in [ASP.NET Core](https://dotnet.microsoft.com/en-us/apps/aspnet)
14+
applications: [Duende.AccessTokenManagement.OpenIdConnect](https://www.nuget.org/packages/Duende.AccessTokenManagement.OpenIdConnect)
15+
16+
## License and Feedback
17+
Duende.AccessTokenManagement is released as open source under the
18+
[Apache 2.0 license](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/blob/main/LICENSE).
19+
[Bug reports, feature requests](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/issues) and
20+
[contributions](https://github.com/DuendeSoftware/Duende.AccessTokenManagement/pulls) are welcome.
21+
If you have an idea for a new feature or significant code change you'd like to propose, please start with a
22+
GitHub issue so that we can discuss it. Thanks in advance!
23+

test/Tests/Tests.csproj

+13-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<PackageReference Include="Duende.IdentityServer" Version="$(IdentityServerVersion)" />
1818

1919
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
20-
<PackageReference Include="xunit" Version="2.8.1" />
21-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
20+
<PackageReference Include="xunit" Version="2.9.0" />
21+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
<PrivateAssets>all</PrivateAssets>
2424
</PackageReference>
@@ -29,7 +29,18 @@
2929

3030
<PackageReference Include="RichardSzalay.MockHttp" Version="7.0.0" />
3131
<PackageReference Include="Shouldly" Version="4.2.1" />
32+
</ItemGroup>
33+
34+
<ItemGroup>
35+
<!-- TODO - Replace CsQuery with AngleSharp -->
3236
<PackageReference Include="CsQuery.NETStandard" Version="1.3.6.1" />
37+
38+
<!-- TODO - The rest of the packages in this group are transitive
39+
dependencies of CsQuery. We should remove them when we replace CsQuery
40+
with AngleSharp. -->
41+
<PackageReference Include="Microsoft.NETCore.Jit" Version="1.1.13" />
42+
<PackageReference Include="System.Net.Http" Version="4.3.4" />
43+
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.2"/>
3344
</ItemGroup>
3445

3546
<ItemGroup>

0 commit comments

Comments
 (0)