fix: satisfy auth provider argument lint

This commit is contained in:
Edward Frazer
2026-04-22 16:55:39 -07:00
parent b0017b5333
commit d339b11a82
+5 -2
View File
@@ -961,7 +961,10 @@ impl RmcpClient {
.auth_header(access_token);
let http_client = build_http_client(&default_headers)?;
let transport = StreamableHttpClientTransport::with_client(
StreamableHttpResponseClient::new(http_client, None),
StreamableHttpResponseClient::new(
http_client,
/*auth_provider*/ None,
),
http_config,
);
Ok(PendingTransport::StreamableHttp { transport })
@@ -1193,7 +1196,7 @@ async fn create_oauth_transport_and_runtime(
};
let auth_client = AuthClient::new(
StreamableHttpResponseClient::new(http_client, None),
StreamableHttpResponseClient::new(http_client, /*auth_provider*/ None),
manager,
);
let auth_manager = auth_client.auth_manager.clone();