tuitbot-server 0.1.49

HTTP API server for Tuitbot autonomous X growth assistant
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Authentication layer for the tuitbot API server.
//!
//! Supports two authentication strategies:
//! - **Bearer token**: File-based token for Tauri desktop and API/MCP clients
//! - **Session cookie**: Passphrase-based login for web/LAN access

pub mod middleware;
pub mod routes;
pub mod token;

pub use middleware::auth_middleware;
pub use token::ensure_api_token;