ApiKeyAuthenticationOptions.ChallengeHeaderFormat property
Format for the WWW-Authenticate
header in 401 responses.
If set to ApiKeyHeader
, emits ApiKey header="X-Api-Key"
. If set to HeaderOnly
, emits just the header name.
public ApiKeyChallengeFormat ChallengeHeaderFormat { get; set; }
See Also
- enum ApiKeyChallengeFormat
- class ApiKeyAuthenticationOptions
- namespace Kestrun.Authentication