Skip to main content

Module config

Module config 

Source
Expand description

Minimal, self-contained upstream configuration shape.

soma-auth intentionally does not depend on any gateway/runtime crate for outbound upstream OAuth. Only the fields the OAuth runtime actually reads (name, url, oauth) are modeled here — a full gateway config schema (tool/resource exposure allowlists, proxy flags, priority, import provenance, …) belongs to whatever consumer wires this runtime up, not to the auth crate itself.

Structs§

UpstreamConfig
Upstream MCP server identity + outbound OAuth configuration, as needed by crate::upstream::manager::UpstreamOauthManager.
UpstreamOauthConfig
Outbound OAuth configuration for a single upstream.

Enums§

UpstreamOauthMode
Outbound OAuth mode. Currently only authorization_code_pkce is supported.
UpstreamOauthRegistration
Outbound OAuth client-registration strategy.