Soenneker.Security.Parsers.BasicAuth
4.0.24
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.Security.Parsers.BasicAuth --version 4.0.24
NuGet\Install-Package Soenneker.Security.Parsers.BasicAuth -Version 4.0.24
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.Security.Parsers.BasicAuth" Version="4.0.24" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Security.Parsers.BasicAuth" Version="4.0.24" />
<PackageReference Include="Soenneker.Security.Parsers.BasicAuth" />
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.Security.Parsers.BasicAuth --version 4.0.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Security.Parsers.BasicAuth, 4.0.24"
#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.Security.Parsers.BasicAuth@4.0.24
#: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.Security.Parsers.BasicAuth&version=4.0.24
#tool nuget:?package=Soenneker.Security.Parsers.BasicAuth&version=4.0.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Security.Parsers.BasicAuth
A library for basic authorization parsing.
Install
dotnet add package Soenneker.Security.Parsers.BasicAuth
Quick start
using Soenneker.Security.Parsers.BasicAuth;
var result = BasicAuthParser.TryReadBasicCredentials(/* supply context */ default!, /* supply username */ default!, /* supply password */ default!, /* supply charBufferToClear */ default!);
Attempts to decode Basic authentication credentials from the request Authorization header.
What you get
BasicAuthParser— A library for basic authorization parsing.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
BasicAuthParser.TryReadBasicCredentials(context, username, password, charBufferToClear) |
Attempts to decode Basic authentication credentials from the request Authorization header. | true if valid Basic credentials were decoded and assigned; otherwise, false. |
BasicAuthParser.Clear(charBuffer) |
Removes all entries managed by the Basic Auth Parser. | Returns no value; the requested change is complete when the method returns. |
| 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
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Security.Parsers.BasicAuth:
| Package | Downloads |
|---|---|
|
Soenneker.Validators.BasicAuth
A lightweight validation module for validating HTTP Basic Authentication credentials. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.25 | 198 | 8/30/2026 |
| 4.0.24 | 258 | 8/29/2026 |
| 4.0.23 | 84 | 8/29/2026 |
| 4.0.22 | 1,107 | 7/27/2026 |
| 4.0.21 | 287 | 7/21/2026 |
| 4.0.20 | 225 | 7/16/2026 |
| 4.0.19 | 1,000 | 6/18/2026 |
| 4.0.18 | 827 | 6/5/2026 |
| 4.0.15 | 1,452 | 3/12/2026 |
| 4.0.14 | 126 | 3/12/2026 |
| 4.0.12 | 307 | 3/12/2026 |
| 4.0.11 | 357 | 3/10/2026 |
| 4.0.10 | 317 | 3/9/2026 |
| 4.0.9 | 118 | 3/9/2026 |
| 4.0.8 | 127 | 3/9/2026 |
| 4.0.7 | 451 | 3/4/2026 |
| 4.0.6 | 1,401 | 1/2/2026 |
| 4.0.5 | 869 | 11/21/2025 |
| 4.0.4 | 839 | 10/29/2025 |
| 3.0.3 | 755 | 9/4/2025 |
Loading failed
Improve README usability and API guidance