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
                    
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.634" />
                    
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.634" />
                    
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.634
                    
#r "nuget: Soenneker.Constants.Auth, 11.0.634"
                    
#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.634
                    
#: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.634
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Constants.Auth&version=11.0.634
                    
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.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
Loading failed

Configure .NET CI defaults and daily source scans