A simple and lightweight .NET package designed to streamline HttpClient authenticated requests
License
—
Deps
6
Install Size
—
Vulns
✓ 0
Published
Feb 12, 2026
$ dotnet add package AuthorizationInterceptor.Extensions.HybridCache![]()
An interceptor for AuthorizationInterceptor that uses a hybrid cache abstraction to handle authorization headers. For more information on how to configure and use Authorization Interceptor, please check the main page of AuthorizationInterceptor.
Run the following command in package manager console:
PM> Install-Package AuthorizationInterceptor.Extensions.HybridCache
Or from the .NET CLI as:
dotnet add package AuthorizationInterceptor.Extensions.HybridCache
When adding Authorization Interceptor Handler, call the extension method UseHybridCacheInterceptor:
services.AddHttpClient("TargetApi")
.AddAuthorizationInterceptorHandler<TargetApiAuthClass>(options =>
{
options.UseHybridCacheInterceptor();
})
Note: Hybrid cache is an abstraction that needs to be pre-configured using some libraries already available for .Net. Please check the official documentation of HybridCache library in ASP.NET Core