Skip to main content

Module basic_auth

Module basic_auth 

Source
Expand description

HTTP Basic authentication plugin (basic-auth).

Validates the Authorization: Basic ... header against a static user map and/or the shared consumer store, and rejects unauthenticated requests with a 401 challenge so the graph engine routes through the node’s error port.

Structs§

BasicAuthPlugin
Authenticates requests using HTTP Basic credentials checked against a configured username/password map and/or the consumer store.

Functions§

parse_users 🔒
Parses the users config into a username -> password map, accepting either shape: