What problem does it solve?
This Skill removes the manual overhead of building custom API Key authentication for Jarvis ASP.NET Core backends, eliminating repetitive boilerplate code and reducing configuration errors.
Core Features & Use Cases
- Custom Provider Integration: Seamlessly register Jarvis's CoreApiKey authentication with your own IApiKeyProvider implementation for tailored key validation and client mapping.
- Flexible Header Configuration: Support for default X-API-KEY headers or custom header names configured directly in appsettings.json.
- Standardized Error Handling: Automatically returns 401 Unauthorized responses for missing or invalid API keys, with 200 OK responses for requests to protected endpoints with valid keys.
- Use Case: For example, if you are building a public API for third-party service integrations, use this Skill to quickly deploy secure API Key authentication without writing custom middleware from scratch.
Quick Start
Use the authentication-dotnet-api-key skill to configure API Key authentication for your Jarvis backend that validates requests via a custom HTTP header and maps valid keys to client IDs.