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

Method callback

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

Complete the OAuth callback with an optional authorization code.

(&self, code: Option<&str>)

Source from the content-addressed store, hash-verified

111
112 /// Complete the OAuth callback with an optional authorization code.
113 pub async fn callback(&self, code: Option<&str>) -> Result<Value, PluginAuthError> {
114 let result = self.client.auth_callback(code).await?;
115 Ok(result)
116 }
117
118 /// Load the auth provider configuration.
119 ///

Callers

nothing calls this directly

Calls 1

auth_callbackMethod · 0.80

Tested by

no test coverage detected