Soenneker.Validators.BasicAuth.Functions
4.0.204
Prefix Reserved
dotnet add package Soenneker.Validators.BasicAuth.Functions --version 4.0.204
NuGet\Install-Package Soenneker.Validators.BasicAuth.Functions -Version 4.0.204
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.Validators.BasicAuth.Functions" Version="4.0.204" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Validators.BasicAuth.Functions" Version="4.0.204" />
<PackageReference Include="Soenneker.Validators.BasicAuth.Functions" />
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.Validators.BasicAuth.Functions --version 4.0.204
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Validators.BasicAuth.Functions, 4.0.204"
#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.Validators.BasicAuth.Functions@4.0.204
#: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.Validators.BasicAuth.Functions&version=4.0.204
#tool nuget:?package=Soenneker.Validators.BasicAuth.Functions&version=4.0.204
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Validators.BasicAuth.Functions
A validation module for validating HTTP Basic Authentication credentials in Functions.
Install
dotnet add package Soenneker.Validators.BasicAuth.Functions
Quick start
using Soenneker.Validators.BasicAuth.Functions.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddBasicAuthValidatorAsSingleton();
Adds IBasicAuthValidator as a singleton service.
What you get
IBasicAuthValidator— A validation module for validating HTTP Basic Authentication credentials in Functions.BasicAuthValidatorRegistrar— A validation module for validating HTTP Basic Authentication credentials in Functions.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
IBasicAuthValidator.Validate(httpRequestData, configuredUsername, configuredPasswordPhc) |
Validates the request Basic credentials against the configured username and password hash. | true if the supplied credentials match the configured credentials; otherwise, false. |
IBasicAuthValidator.ValidateSafe(httpRequestData, configuredUsername, configuredPasswordPhc) |
Validates Basic credentials and returns false instead of throwing when credentials or configuration are invalid. | true if the supplied credentials match the configured credentials; otherwise, false. |
BasicAuthValidatorRegistrar.AddBasicAuthValidatorAsSingleton(services) |
Adds IBasicAuthValidator as a singleton service. |
The same service collection, so additional registrations can be chained. |
BasicAuthValidatorRegistrar.AddBasicAuthValidatorAsScoped(services) |
Adds IBasicAuthValidator as a scoped service. |
The same service collection, so additional registrations can be chained. |
| 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
- Soenneker.Extensions.Configuration (>= 4.0.862)
- Soenneker.Hashing.Pbkdf2 (>= 4.0.28)
- Soenneker.Security.Parsers.BasicAuth.Functions (>= 4.0.28)
- Soenneker.Security.Util (>= 4.0.38)
- Soenneker.Validators.Validator (>= 4.0.734)
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.204 | 0 | 8/29/2026 |
| 4.0.203 | 0 | 8/29/2026 |
| 4.0.201 | 0 | 8/29/2026 |
| 4.0.200 | 41 | 8/26/2026 |
| 4.0.199 | 38 | 8/26/2026 |
| 4.0.198 | 49 | 8/25/2026 |
| 4.0.197 | 90 | 8/22/2026 |
| 4.0.196 | 103 | 8/18/2026 |
| 4.0.195 | 95 | 8/12/2026 |
| 4.0.194 | 86 | 8/12/2026 |
| 4.0.193 | 83 | 8/12/2026 |
| 4.0.192 | 89 | 8/8/2026 |
| 4.0.191 | 87 | 8/7/2026 |
| 4.0.190 | 106 | 7/29/2026 |
| 4.0.189 | 95 | 7/29/2026 |
| 4.0.188 | 97 | 7/29/2026 |
| 4.0.187 | 92 | 7/29/2026 |
| 4.0.186 | 94 | 7/28/2026 |
| 4.0.185 | 90 | 7/28/2026 |
| 4.0.184 | 100 | 7/28/2026 |
Loading failed
Improve README usability and API guidance