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

Method default

crates/opencode-mcp/src/oauth.rs:27–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26impl Default for McpOAuthConfig {
27 fn default() -> Self {
28 Self {
29 client_id: None,
30 client_secret: None,
31 auth_url: String::new(),
32 token_url: String::new(),
33 scopes: Vec::new(),
34 redirect_uri: "http://127.0.0.1:19876/mcp/oauth/callback".to_string(),
35 }
36 }
37}
38
39/// Transient state kept during an in-progress authorization flow.

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected