Skip to main content

Module key_auth

Module key_auth 

Source
Expand description

API-key authentication plugin (key-auth).

Checks a request header (and optionally a query parameter as fallback) against a static list of valid keys and/or the shared consumer store; unmatched requests are rejected with a 401 error routed through the node’s error port.

Structs§

KeyAuthPlugin
Authenticates requests by matching an API key against a configured list and/or the consumer store.