ApiKeyAuthenticationOptions.ExpectedKey property
Single expected API key (used if ValidateKey is not set).
Defaults to null.
Use this for simple scenarios where you have a known key.
public string? ExpectedKey { get; set; }
See Also
- class ApiKeyAuthenticationOptions
- namespace Kestrun.Authentication