feat: Implement flexible authentication supporting JWT, OIDC, and session modes, alongside new configuration options and refactored auth layer setup.

This commit is contained in:
2026-01-06 20:31:57 +01:00
parent 82a6c08790
commit a5f9e8ae9e
18 changed files with 1022 additions and 414 deletions

View File

@@ -1,6 +1,6 @@
#[cfg(feature = "auth-axum-login")]
mod axum_login;
pub mod axum_login;
#[cfg(feature = "auth-jwt")]
mod jwt;
pub mod jwt;
#[cfg(feature = "auth-oidc")]
mod oidc;
pub mod oidc;

View File

@@ -1 +1,2 @@
pub use k_core::session::store::InfraSessionStore;
pub use tower_sessions::{Expiry, SessionManagerLayer};