Some checks failed
CI / Clippy (push) Successful in 3m17s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (push) Failing after 37s
CI / Format (pull_request) Failing after 3s
CI / Security Audit (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
Dashboard: OAuth2/OIDC login flow with PKCE, session-based auth middleware protecting all server function endpoints, check-auth server function for frontend auth state, login page gate in AppShell, user info in sidebar. Agent API: JWT validation middleware using Keycloak JWKS endpoint, conditionally enabled when KEYCLOAK_URL and KEYCLOAK_REALM are set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
934 B
Rust
40 lines
934 B
Rust
// Server function modules (compiled for both web and server;
|
|
// the #[server] macro generates client stubs for the web target)
|
|
pub mod auth_check;
|
|
pub mod chat;
|
|
pub mod dast;
|
|
pub mod findings;
|
|
pub mod graph;
|
|
pub mod issues;
|
|
pub mod repositories;
|
|
pub mod sbom;
|
|
pub mod scans;
|
|
pub mod stats;
|
|
|
|
// Server-only modules
|
|
#[cfg(feature = "server")]
|
|
mod auth;
|
|
#[cfg(feature = "server")]
|
|
mod auth_middleware;
|
|
#[cfg(feature = "server")]
|
|
pub mod config;
|
|
#[cfg(feature = "server")]
|
|
pub mod database;
|
|
#[cfg(feature = "server")]
|
|
pub mod error;
|
|
#[cfg(feature = "server")]
|
|
pub mod keycloak_config;
|
|
#[cfg(feature = "server")]
|
|
mod server;
|
|
#[cfg(feature = "server")]
|
|
pub mod server_state;
|
|
#[cfg(feature = "server")]
|
|
mod user_state;
|
|
|
|
#[cfg(feature = "server")]
|
|
pub use auth::{auth_callback, auth_login, logout, PendingOAuthStore};
|
|
#[cfg(feature = "server")]
|
|
pub use auth_middleware::require_auth;
|
|
#[cfg(feature = "server")]
|
|
pub use server::server_start;
|