Skip to main content

spec_for

Function spec_for 

Source
pub fn spec_for(provider: &str) -> Option<ProviderOAuthSpec>
Expand description

Look up the OAuth spec for provider (e.g. "openai", "anthropic").

Returns None when the provider has no [providers.<name>.oauth] block in product-meta.toml (i.e. it is key-only).