mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-05 08:57:46 +08:00
Consolidate subscription usage policy enforcement, privacy-safe persistence, and gateway security hardening into one reviewable change. Includes bounded HTTP and execution envelopes, header and protocol guards, DNS and relay validation, authentication and secret projection hardening, secure backup/install paths, and regression coverage.
23 lines
878 B
Rust
23 lines
878 B
Rust
mod credentials;
|
|
mod gate;
|
|
mod principal;
|
|
mod resolution;
|
|
mod types;
|
|
|
|
pub(crate) use credentials::extract_requested_model;
|
|
pub(super) use credentials::resolve_gateway_credential_carrier;
|
|
pub(crate) use gate::{
|
|
estimate_execution_plan_cost_upper_bound_usd, execution_plan_balance_capacity_rejection,
|
|
request_model_local_rejection, should_buffer_request_for_local_auth,
|
|
trusted_auth_local_rejection, GatewayLocalAuthRejection,
|
|
};
|
|
pub(crate) use resolution::{
|
|
refresh_execution_runtime_auth_context, refresh_execution_runtime_auth_context_with_snapshot,
|
|
resolve_execution_runtime_auth_context, resolve_local_admin_session_principal,
|
|
GatewayAdminPrincipalContext, GatewayControlAuthContext,
|
|
};
|
|
pub(super) use resolution::{
|
|
resolve_control_decision_auth_with_trusted_auth, ControlDecisionAuthResolution,
|
|
};
|
|
pub(crate) use types::GatewayCredentialCarrier;
|