ApiKeyAuthenticationOptions

> NO WARRANTY. Trax auth is plumbing, not a security product. You are solely responsible for securing systems that use it. See API Security.

Options passed to AddTraxApiKeyAuth for customizing the scheme. Inherits all standard AuthenticationSchemeOptions members.

PropertyTypeDefaultPurpose
HeaderNamestring"X-Api-Key"HTTP header carrying the API key. Override for consumers that use a different convention.

Usage

services.AddTraxApiKeyAuth<MyResolver>(opts =>
{
    opts.HeaderName = "X-My-Custom-Key";
});