MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / auth_load

Method auth_load

crates/opencode-plugin/src/subprocess/client.rs:250–253  ·  view source on GitHub ↗

Load auth provider configuration.

(&self, provider: &str)

Source from the content-addressed store, hash-verified

248
249 /// Load auth provider configuration.
250 pub async fn auth_load(&self, provider: &str) -> Result<AuthLoadResult, PluginSubprocessError> {
251 let params = serde_json::json!({ "provider": provider });
252 self.call("auth.load", Some(params)).await
253 }
254
255 /// Proxy an HTTP request through the plugin's custom fetch.
256 pub async fn auth_fetch(

Callers 1

loadMethod · 0.80

Calls 1

callMethod · 0.80

Tested by

no test coverage detected