MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / sample_config

Function sample_config

claw-code/rust/crates/runtime/src/oauth.rs:460–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

458 };
459
460 fn sample_config() -> OAuthConfig {
461 OAuthConfig {
462 client_id: "runtime-client".to_string(),
463 authorize_url: "https://console.test/oauth/authorize".to_string(),
464 token_url: "https://console.test/oauth/token".to_string(),
465 callback_port: Some(4545),
466 manual_redirect_url: Some("https://console.test/oauth/callback".to_string()),
467 scopes: vec!["org:read".to_string(), "user:write".to_string()],
468 }
469 }
470
471 fn env_lock() -> std::sync::MutexGuard<'static, ()> {
472 crate::test_env_lock()

Calls

no outgoing calls

Tested by 1