Soenneker.Hangfire.BasicAuthentication
4.0.2108
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Hangfire.BasicAuthentication --version 4.0.2108
NuGet\Install-Package Soenneker.Hangfire.BasicAuthentication -Version 4.0.2108
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Hangfire.BasicAuthentication" Version="4.0.2108" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Hangfire.BasicAuthentication" Version="4.0.2108" />
<PackageReference Include="Soenneker.Hangfire.BasicAuthentication" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Hangfire.BasicAuthentication --version 4.0.2108
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Hangfire.BasicAuthentication, 4.0.2108"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Hangfire.BasicAuthentication@4.0.2108
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Hangfire.BasicAuthentication&version=4.0.2108
#tool nuget:?package=Soenneker.Hangfire.BasicAuthentication&version=4.0.2108
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Hangfire.BasicAuthentication
Represents the hangfire authorize registrar.
Install
dotnet add package Soenneker.Hangfire.BasicAuthentication
Quick start
using Soenneker.Hangfire.BasicAuthentication.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddHangfireBasicAuth();
Adds hangfire basic auth.
What you get
HangfireAuthorizeRegistrar— Represents the hangfire authorize registrar.HangfireAuthorizationFilter— Needed to enable non-local traffic to flow into the hangfire auth middleware.HangfireBasicAuthMiddleware— Basic Auth gate for /hangfire (or configured path), delegating parsing + verification to IBasicAuthValidator. Keeps password only as a PHC record (no plaintext in config).
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
HangfireAuthorizeRegistrar.UseHangfireAuthorized(builder) |
Adds simple basic authorization to the Hangfire instance - Hangfire:Username, Hangfire:Password config values necessary. | The same builder instance, so additional classes or variants can be chained. |
HangfireAuthorizationFilter.Authorize(dashboardContext) |
Determines whether the current request may access the Hangfire dashboard. | true if dashboard access is allowed; otherwise, false. |
HangfireBasicAuthMiddleware.InvokeAsync(context) |
Invokes async. | A task that completes when the invoke async operation is complete. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Hangfire.Core (>= 1.8.25)
- Newtonsoft.Json (>= 13.0.4)
- Soenneker.Extensions.HttpContext (>= 4.0.720)
- Soenneker.Validators.BasicAuth (>= 4.0.200)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.2119 | 0 | 8/31/2026 |
| 4.0.2118 | 0 | 8/31/2026 |
| 4.0.2117 | 22 | 8/30/2026 |
| 4.0.2116 | 36 | 8/30/2026 |
| 4.0.2115 | 32 | 8/30/2026 |
| 4.0.2114 | 30 | 8/30/2026 |
| 4.0.2113 | 34 | 8/30/2026 |
| 4.0.2112 | 36 | 8/30/2026 |
| 4.0.2111 | 33 | 8/30/2026 |
| 4.0.2110 | 38 | 8/30/2026 |
| 4.0.2109 | 41 | 8/29/2026 |
| 4.0.2108 | 37 | 8/29/2026 |
| 4.0.2107 | 36 | 8/29/2026 |
| 4.0.2106 | 43 | 8/29/2026 |
| 4.0.2105 | 56 | 8/28/2026 |
| 4.0.2104 | 84 | 8/26/2026 |
| 4.0.2103 | 71 | 8/26/2026 |
| 4.0.2102 | 79 | 8/26/2026 |
| 4.0.2101 | 79 | 8/25/2026 |
| 4.0.2100 | 98 | 8/21/2026 |
Loading failed
Improve README usability and API guidance