Skip to main content

Module auth

Module auth 

Source

Structs§

InsecureBindError
Refusal to start unauthenticated on a non-loopback bind

Enums§

AuthMode
Startup authentication posture resolved from the bind host and key presence

Functions§

api_key_configured
Whether EMBACLE_API_KEY is set to a non-empty value
require_auth
Middleware that validates the bearer token against EMBACLE_API_KEY
resolve_startup_auth
Resolve the startup authentication posture for an HTTP bind.