ApiKeyAuthHandler class
Handles API Key authentication for incoming HTTP requests.
public class ApiKeyAuthHandler : AuthenticationHandler<ApiKeyAuthenticationOptions>
Public Members
| name | description |
|---|---|
| ApiKeyAuthHandler(…) | Initializes a new instance of the ApiKeyAuthHandler class. |
| Host { get; } | The Kestrun host instance. |
| static BuildCsValidator(…) | Builds a C#-based API key validator delegate using the provided authentication code settings. |
| static BuildPsValidator(…) | Builds a PowerShell-based API key validator delegate using the provided authentication code settings. |
| static BuildVBNetValidator(…) | Builds a VB.NET-based API key validator delegate using the provided authentication code settings. |
See Also
- class ApiKeyAuthenticationOptions
- namespace Kestrun.Authentication