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 satisfied only by a caller the API-key scheme authenticated, wherever it is evaluated (endpoint gate, GateOperations, [TraxAuthorize(Policy = ...)], sockets).
HeaderNameX-Api-KeyDefault request header. Override via ApiKeyAuthenticationOptions.HeaderName.