Files
foxhunt/bin/fxt/src/auth/mod.rs
jgrusewski 9c3d741a08 refactor: restructure repo — crates/, bin/, testing/ layout
Move 17 library crates into crates/, CLI binary into bin/fxt,
consolidate 10 test crates into testing/, split config crate
from deployment config files.

Root directory reduced from 38+ to ~17 directories.
All Cargo.toml paths and build.rs proto refs updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:56:00 +01:00

20 lines
631 B
Rust

//! TLI authentication module
//!
//! Provides JWT-based authentication for TLI connections to the API Gateway,
//! including secure token storage, automatic refresh, and gRPC interceptors.
pub mod encryption;
pub mod interceptor;
pub mod jwt_generator;
pub mod key_manager;
pub mod login;
pub mod token_manager;
pub use encryption::{
decrypt_token, encrypt_token, read_token_auto, write_token_encrypted, EncryptionFormat,
};
pub use interceptor::AuthInterceptor;
pub use key_manager::KeyManager;
pub use login::{LoginClient, LoginRequest, LoginResponse, MfaRequest};
pub use token_manager::{AuthTokenManager, TokenStorage};