Files
poimen-memory/crates/mem-cli/src/auth/mod.rs
T
rock ce6ddc2b3d
CI / CI (pull_request) Failing after 2m32s
fix: resolve 29 mem-cli compilation errors
- Add missing dependencies: futures-util, async-stream, rand
- Create auth/mod.rs to export AuthProvider, AuthError, Claims
- Add unauthorized() to response_builder for 401 responses
- Fix lifetime specifier in community_metrics::rank_by_metric()
- Create DefaultAgent type alias in agent module
- Export AppState and AuthMode from http_server
- Fix answer_validator import path (crate::query::answer_validator)
- Replace sqlx::query! macros with runtime queries in rebuild_handler
- Add mem-store db_repo to exports (temporarily disabled due to schema mismatches)
- Import visualize_handler, visualize_stream_handler, compact_handler in http_server
- Define LlmCaller trait locally in compaction.rs

Test Status:
-  mem-ingest: 81/81 tests passing
-  mem-cli: compilation in progress (reduced from 29 errors)
2026-09-07 17:15:31 -07:00

13 lines
369 B
Rust

//! Authentication and Authorization Module
//!
//! Provides JWT validation, OIDC integration with Authentik, and RBAC.
pub mod provider;
pub mod authentik_provider;
pub mod authentik_service_account;
pub mod guard;
pub use provider::{AuthProvider, AuthError, Claims};
pub use authentik_provider::AuthentikProvider;
pub use guard::{AuthGuard, PermissionGuard, Role};