ApiKeyDefaults

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

Constants used by the Trax API-key scheme.

ConstantValueUsage
SchemeNameTraxApiKeyAuthenticationScheme name. Pass to .RequireAuthorization(scheme: ApiKeyDefaults.SchemeName) when composing with other schemes.
PolicyNameApiKeyPolicyRegistered authorization policy that requires authenticated user + the API-key scheme.
HeaderNameX-Api-KeyDefault request header. Override via ApiKeyAuthenticationOptions.HeaderName.