Authorization
Luden has two types of authorization: API Keys (client/server secrets) and admin tokens.
YAML Configuration
Authorization can be configured via YAML array of objects.
Also, API Keys can be configured via plain string. In this case, the plain string will be parsed as a client secret.
HTTP URL
Authorization will be reloaded every api_keys_reload_sec seconds. Default value is 3 seconds.
HTTP requests are sent with If-Modified-Since
header. If HTTP response returns 304 code authorization isn't reconfigured. If authorization content was changed (or logic isn't supported) - HTTP response must return 200 code, Last-Modified
header, and body with the following structure:
Last updated