Soenneker.Validators.BasicAuth.Functions
4.0.207
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.Validators.BasicAuth.Functions --version 4.0.207
NuGet\Install-Package Soenneker.Validators.BasicAuth.Functions -Version 4.0.207
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.207" />
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.207" />
<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.207
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Validators.BasicAuth.Functions, 4.0.207"
#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.207
#: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.207
#tool nuget:?package=Soenneker.Validators.BasicAuth.Functions&version=4.0.207
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.30)
- Soenneker.Security.Parsers.BasicAuth.Functions (>= 4.0.30)
- Soenneker.Security.Util (>= 4.0.40)
- 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.227 | 0 | 9/9/2026 |
| 4.0.226 | 0 | 9/8/2026 |
| 4.0.225 | 69 | 9/8/2026 |
| 4.0.224 | 67 | 9/8/2026 |
| 4.0.223 | 78 | 9/7/2026 |
| 4.0.222 | 75 | 9/7/2026 |
| 4.0.221 | 74 | 9/7/2026 |
| 4.0.220 | 81 | 9/7/2026 |
| 4.0.219 | 78 | 9/5/2026 |
| 4.0.218 | 78 | 9/4/2026 |
| 4.0.217 | 80 | 9/4/2026 |
| 4.0.216 | 83 | 9/4/2026 |
| 4.0.215 | 86 | 9/1/2026 |
| 4.0.213 | 80 | 8/31/2026 |
| 4.0.212 | 90 | 8/31/2026 |
| 4.0.211 | 88 | 8/31/2026 |
| 4.0.210 | 89 | 8/30/2026 |
| 4.0.209 | 86 | 8/30/2026 |
| 4.0.208 | 85 | 8/30/2026 |
| 4.0.207 | 87 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Security.Util to 4.0.40 (#489)