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

Method new

crates/opencode-server/src/oauth.rs:20–22  ·  view source on GitHub ↗
(auth_manager: Arc<AuthManager>)

Source from the content-addressed store, hash-verified

18
19impl ProviderAuth {
20 pub fn new(auth_manager: Arc<AuthManager>) -> Self {
21 Self { auth_manager }
22 }
23
24 pub async fn methods(loader: &PluginLoader) -> HashMap<String, Vec<AuthMethodInfo>> {
25 let bridges = loader.auth_bridges().await;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected