Skip to main content

soma_auth_env_vars

Function soma_auth_env_vars 

Source
pub fn soma_auth_env_vars(auth: &AuthConfig) -> Vec<(String, String)>
Expand description

Synthesize the SOMA_MCP_* var list soma_auth::AuthConfigBuilder expects from typed config fields.

Unset options (and empty strings/lists) are omitted entirely so the auth crate applies its own defaults (crates/shared/auth/src/config.rs) — soma-config deliberately duplicates none of those default values.