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

Method get

crates/opencode-provider/src/auth.rs:89–92  ·  view source on GitHub ↗
(&self, provider_id: &str)

Source from the content-addressed store, hash-verified

87 }
88
89 pub async fn get(&self, provider_id: &str) -> Option<AuthInfo> {
90 let creds = self.credentials.read().await;
91 creds.get(provider_id).cloned()
92 }
93
94 pub async fn set(&self, provider_id: &str, auth: AuthInfo) {
95 {

Callers 15

optionsFunction · 0.45
sanitize_geminiFunction · 0.45
provider_options_mapFunction · 0.45
get_custom_fetch_proxyFunction · 0.45
parse_legacy_sse_dataMethod · 0.45
reassemble_sse_chunksMethod · 0.45
get_api_keyMethod · 0.45
get_oauth_tokenMethod · 0.45
is_gpt5_or_laterFunction · 0.45

Calls 1

readMethod · 0.80