AKS.HttpAuthentication
1.1.0
dotnet add package AKS.HttpAuthentication --version 1.1.0
NuGet\Install-Package AKS.HttpAuthentication -Version 1.1.0
<PackageReference Include="AKS.HttpAuthentication" Version="1.1.0" />
<PackageVersion Include="AKS.HttpAuthentication" Version="1.1.0" />
<PackageReference Include="AKS.HttpAuthentication" />
paket add AKS.HttpAuthentication --version 1.1.0
#r "nuget: AKS.HttpAuthentication, 1.1.0"
#:package AKS.HttpAuthentication@1.1.0
#addin nuget:?package=AKS.HttpAuthentication&version=1.1.0
#tool nuget:?package=AKS.HttpAuthentication&version=1.1.0
This approach simplifies the process of setting up HTTP clients with various authentication methods, making it easier to interact with authenticated APIs.
The NuGet package AKS.HttpAuthentication provides a unified approach to handling various HTTP authentication schemes in .NET applications. It supports multiple authentication types, including Basic, Bearer, Digest, NTLM, and OAuth2.
🔐 Key Features Multi-Auth Support: Handles different HTTP authentication methods.
Simplified Client Creation: Offers an AuthenticatedHttpClient class that abstracts the complexity of setting up authenticated HTTP clients.
.NET 8.0 Compatibility: Designed to work seamlessly with .NET 8.0 and higher versions.
Installation To install the package using the .NET CLI:
dotnet add package AKS.HttpAuthentication --version 1.1.0 📦 Usage Example Here's how you can create an authenticated HTTP client using Basic Authentication:
var client = new AuthenticatedHttpClient(new HttpAuthConfig { Type = AuthType.Basic, Username = "admin", Password = "1234" });
var response = await client.GetAsync("https://example.com");
Please donate to manage this package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.