ApiKeySecurity

Checks the presence of the named Api Key parameter. Filter returns 401 if Api-Key is not found in request.

Default implementation of ApiKey. Includes an option to NOT authorise OPTIONS requests, which is currently not enabled for OpenAPI.

Constructors

Link copied to clipboard
constructor(param: Lens<Request, T>, validateKey: (T) -> Boolean, authorizeOptionsRequests: Boolean = true, name: String = "api_key")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val filter: Filter
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard