(mcp_name: String, server_url: String, config: McpOAuthConfig)
| 71 | |
| 72 | impl McpOAuthManager { |
| 73 | pub fn new(mcp_name: String, server_url: String, config: McpOAuthConfig) -> Self { |
| 74 | Self { |
| 75 | mcp_name, |
| 76 | server_url, |
| 77 | config, |
| 78 | pending: RwLock::new(None), |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | /// Validate config and return parsed URL components. |
| 83 | fn parsed_config( |