diff --git a/MIGRATION_GUIDE_PROXYPOOL_TO_SMARTPOOL.md b/MIGRATION_GUIDE_PROXYPOOL_TO_SMARTPOOL.md index a48e932..6771687 100644 --- a/MIGRATION_GUIDE_PROXYPOOL_TO_SMARTPOOL.md +++ b/MIGRATION_GUIDE_PROXYPOOL_TO_SMARTPOOL.md @@ -57,7 +57,6 @@ Hướng dẫn chi tiết để migrate code client từ ProxyPool (legacy) sang "Protocol": "Grpc", "Host": "10.9.3.70", "Port": 5001, - "DefaultAccessToken": "your-access-token", "UseSecureConnection": false, "TimeoutMs": 30000, "EnableClientCache": true, @@ -71,7 +70,7 @@ Hướng dẫn chi tiết để migrate code client từ ProxyPool (legacy) sang **Lưu ý:** - SmartPool sử dụng port khác (5001 cho gRPC, 5000 cho HTTP) -- Cần cấu hình `DefaultAccessToken` nếu muốn tự động inject vào requests +- Cần cấu hình `ConfigManager:AccessToken` nếu muốn tự động inject vào requests ### Step 3: Cập Nhật Service Registration @@ -99,7 +98,6 @@ services.AddSmartPoolClient(configuration, options => options.Protocol = SmartPoolProtocol.Grpc; options.Host = "10.9.3.70"; options.Port = 5001; - options.DefaultAccessToken = "your-access-token"; }); ```