Soenneker.Constants.Auth 11.0.633

Prefix Reserved
dotnet add package Soenneker.Constants.Auth --version 11.0.633
                    
NuGet\Install-Package Soenneker.Constants.Auth -Version 11.0.633
                    
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.Constants.Auth" Version="11.0.633" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Constants.Auth" Version="11.0.633" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Constants.Auth" />
                    
Project file
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.Constants.Auth --version 11.0.633
                    
#r "nuget: Soenneker.Constants.Auth, 11.0.633"
                    
#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.Constants.Auth@11.0.633
                    
#: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.Constants.Auth&version=11.0.633
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Constants.Auth&version=11.0.633
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.633 3,271 11/11/2026
11.0.632 18,152 10/26/2026
4.0.631 9,039 10/14/2026
4.0.630 898 10/14/2026
4.0.629 116 10/14/2026
4.0.628 879 10/13/2026
4.0.625 671 10/12/2026
4.0.624 814 10/12/2026
4.0.623 4,147 10/11/2026
4.0.622 18,054 9/24/2026
4.0.621 8,811 9/15/2026
4.0.620 8,576 9/12/2026
4.0.619 31,556 8/30/2026
4.0.617 30,173 7/28/2026
4.0.616 14,214 7/16/2026
4.0.615 19,812 6/18/2026
4.0.614 19,761 6/5/2026
4.0.613 24,086 4/22/2026
4.0.612 31,259 3/12/2026
4.0.611 177 3/12/2026
Loading failed

Upgrade .NET 11 release candidates to stable