Skip to main content

trusted_gateway_from_env

Function trusted_gateway_from_env 

Source
pub fn trusted_gateway_from_env() -> bool
Expand description

Read SOMA_NOAUTH from the environment directly.

Prefer config.mcp.trusted_gateway (loaded via Config::load) when a typed config is available. This function exists for call sites that need the value before config is fully loaded (e.g. early startup guards).