This is the repository for a set of .NET libraries that manage OAuth and OpenId Connect access tokens. These tools automatically acquire new tokens when old tokens are about to expire, provide conveniences for using the current token with HTTP clients, and can revoke tokens that are no longer needed.
The libraries in this repository are distributed as NuGet packages.
- Duende.AccessTokenManagement manages tokens acquired in machine-to-machine flows in .NET workers and ASP.NET Core worker services.
- Duende.AccessTokenManagement.OpenIdConnect manages tokens acquired in user-centric flows in ASP.NET Core applications.
Documentation is available here.
Duende.AccessTokenManagement is released as open source under the Apache 2.0 license. Bug reports, feature requests and contributions are welcome. If you have an idea for a new feature or significant code change you'd like to propose, please start with a GitHub issue so that we can discuss it. Thanks in advance!