Ragex.API.Auth (Ragex v0.18.2)

View Source

Plug for optional API key authentication.

When RAGEX_API_KEY environment variable is set, all requests must include a matching Authorization: Bearer <key> header. When the env var is unset, all requests pass through without authentication.