Skip to main content
net10.0

Automatic access token management for OAuth client credential flows

Published
Jul 27, 2026
2mo ago
Total Downloads
3.9K
3,895

Install

dotnet add package Duende.Labs.AccessTokenManagement --version 2026.727.4
ProductVersions
.NET
net10.0

README

About Duende.Labs.AccessTokenManagement

Duende.Labs.AccessTokenManagement is a .NET library that manages OAuth access tokens in .NET workers and ASP.NET Core worker services. It will acquire new tokens when old tokens are about to expire and provides conveniences to automatically use the current token with HTTP clients.

This is an experimental Duende Labs package. The public namespaces are Duende.AccessTokenManagement.*, matching the released Duende.AccessTokenManagement package. Labs packages are published from main whenever changes land and do not follow semantic versioning.

Documentation

Documentation is available here.

Related Packages

  • Foundational library for claims-based identity, OAuth 2.0 and OpenId Connect: Duende.IdentityModel
  • Token management for user-centric flows in ASP.NET Core applications: Duende.Labs.AccessTokenManagement.OpenIdConnect

License and Feedback

Duende.Labs.AccessTokenManagement is released under the license in the package. 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!

Changes from Previous Version

No structural changes between v2026.726.2 and v2026.727.4.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.