Soenneker.Constants.Auth
11.0.634
Prefix Reserved
dotnet add package Soenneker.Constants.Auth --version 11.0.634
NuGet\Install-Package Soenneker.Constants.Auth -Version 11.0.634
<PackageReference Include="Soenneker.Constants.Auth" Version="11.0.634" />
<PackageVersion Include="Soenneker.Constants.Auth" Version="11.0.634" />
<PackageReference Include="Soenneker.Constants.Auth" />
paket add Soenneker.Constants.Auth --version 11.0.634
#r "nuget: Soenneker.Constants.Auth, 11.0.634"
#:package Soenneker.Constants.Auth@11.0.634
#addin nuget:?package=Soenneker.Constants.Auth&version=11.0.634
#tool nuget:?package=Soenneker.Constants.Auth&version=11.0.634
Soenneker.Constants.Auth
Provides the conventional x-api-key HTTP header name.
Install
dotnet add package Soenneker.Constants.Auth
Usage
using Soenneker.Constants.Auth;
httpClient.DefaultRequestHeaders.Add(AuthConstants.XApiKey, apiKey);
AuthConstants.XApiKey has the literal value "x-api-key". HTTP header names are case-insensitive; the lowercase spelling is provided for consistency across clients, middleware, and tests.
This package only supplies the header name. It does not validate credentials or configure an authentication scheme. Treat the associated header value as a secret and exclude it from logs and telemetry.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Soenneker.Constants.Auth:
| Package | Downloads |
|---|---|
|
Soenneker.Extensions.Object
A collection of helpful Object extension methods |
|
|
Soenneker.Utils.UserContext
A utility library for retrieving various user information from the request context |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.634 | 4,740 | 11/18/2026 |
| 11.0.633 | 10,605 | 11/11/2026 |
| 11.0.632 | 18,676 | 10/26/2026 |
| 4.0.631 | 9,232 | 10/14/2026 |
| 4.0.630 | 929 | 10/14/2026 |
| 4.0.629 | 122 | 10/14/2026 |
| 4.0.628 | 885 | 10/13/2026 |
| 4.0.625 | 677 | 10/12/2026 |
| 4.0.624 | 819 | 10/12/2026 |
| 4.0.623 | 4,151 | 10/11/2026 |
| 4.0.622 | 18,065 | 9/24/2026 |
| 4.0.621 | 8,819 | 9/15/2026 |
| 4.0.620 | 8,584 | 9/12/2026 |
| 4.0.619 | 31,601 | 8/30/2026 |
| 4.0.617 | 30,182 | 7/28/2026 |
| 4.0.616 | 14,220 | 7/16/2026 |
| 4.0.615 | 19,841 | 6/18/2026 |
| 4.0.614 | 19,772 | 6/5/2026 |
| 4.0.613 | 24,245 | 4/22/2026 |
| 4.0.612 | 32,407 | 3/12/2026 |
Configure .NET CI defaults and daily source scans