MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / provider

Method provider

crates/opencode-plugin/src/subprocess/auth.rs:62–64  ·  view source on GitHub ↗

The provider ID this auth plugin serves (e.g. "openai", "anthropic").

(&self)

Source from the content-addressed store, hash-verified

60
61 /// The provider ID this auth plugin serves (e.g. "openai", "anthropic").
62 pub fn provider(&self) -> &str {
63 &self.meta.provider
64 }
65
66 /// Available auth methods (OAuth, API key, etc.).
67 pub fn methods(&self) -> &[AuthMethodMeta] {

Callers 2

list_plugin_authFunction · 0.80
loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected