Skip to main content

Crate mildly_basic_auth

Crate mildly_basic_auth 

Source
Expand description

Transparent password-wall reverse proxy.

build_app assembles the whole service: a reverse proxy to the configured upstream, wrapped by the authentication gate. The binary (main.rs) and the integration tests both build on this single seam.

Structs§

Config
Immutable runtime configuration, built once at startup.

Enums§

ConfigError
Why a Config could not be built. Surfaced to stderr at startup so a misconfiguration fails fast with an actionable message.

Functions§

build_app
Build the application: the reverse proxy wrapped by the gate.