()
| 25 | |
| 26 | impl 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. |