Automatic access token management for interactive OpenIdConnect-based ASP.NET Core applications
$ dotnet add package Duende.AccessTokenManagement.OpenIdConnectDuende.AccessTokenManagement.OpenIdConnect is a .NET library that manages OpenId Connect access tokens in ASP.NET Core applications. It will acquire new tokens when old tokens are about to expire, provides conveniences to automatically use the current token with HTTP clients, and can revoke refresh tokens that are no longer needed.
Documentation is available here.
Duende.AccessTokenManagement.OpenIdConnect 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!