ApiKeyAuthenticator

Interface for API key authentication. Implement this to provide custom API key validation logic.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val headerName: String

The header name to look for the API key. Default is "X-API-Key".

Functions

Link copied to clipboard
abstract fun authenticate(apiKey: String): AuthResult

Validate an API key.