Interface IAPIKeyValidationService
- Namespace
- FoundationaLLM.Common.Interfaces
- Assembly
- FoundationaLLM.Common.dll
Common interface for X-API-Key header validation.
public interface IAPIKeyValidationService
- Extension Methods
Methods
IsValid(string)
Checks if an API key is valid or not.
bool IsValid(string apiKey)
Parameters
apiKey
stringThe API key to be checked.
Returns
- bool
A boolean representing the validity of the API key parameter.