get_github_client_secret

Function get_github_client_secret 

Source
pub fn get_github_client_secret() -> Result<String, ConfigError>
Examples found in repository?
examples/oauth_standard_mcp_server.rs (line 73)
48fn log_startup_info() {
49    use remote_mcp_kernel::config::{
50        get_github_client_id, get_github_client_secret, get_server_host, get_server_port,
51        get_server_version,
52    };
53
54    println!("🚀 Starting MCP OAuth server with microkernel architecture...");
55    println!("📋 Configuration:");
56    println!("  - Architecture: Microkernel (independent handlers)");
57    println!(
58        "  - Server: {}:{}",
59        get_server_host(),
60        get_server_port().unwrap_or(8080)
61    );
62    println!("  - Version: {}", get_server_version());
63    println!(
64        "  - GitHub Client ID: {}",
65        if get_github_client_id().is_ok() {
66            "Configured"
67        } else {
68            "Not configured"
69        }
70    );
71    println!(
72        "  - GitHub Client Secret: {}",
73        if get_github_client_secret().is_ok() {
74            "Configured"
75        } else {
76            "Not configured"
77        }
78    );
79    println!("🔧 Handlers:");
80    println!("  - OAuth Provider (authentication & authorization)");
81    println!("  - Streamable HTTP Handler (MCP over HTTP)");
82    println!("  - SSE Handler (MCP over SSE)");
83    println!();
84}