[英]How do I connect to an Azure Service Bus in Flutter
Is there any way that I can connect my Flutter Desktop app to an Azure Service Bus with a simple connection string?有什么方法可以使用简单的连接字符串将我的 Flutter 桌面应用程序连接到 Azure 服务总线? I could not find any packages about this.
我找不到任何关于这个的包。
Flutter is a Google language there's no SDK for that Azure Service Bus provides. Flutter 是一种 Google 语言,没有 Azure 服务总线提供的 SDK。 If Flutter Desktop can interop with JavaScript, you could use the JavaScript SDK .
如果 Flutter 桌面可以与 JavaScript 互操作,您可以使用JavaScript ZF20E3C5E54C0AB3D376D66666 。
Usually, I would not recommend embedding the connection string in the client application.通常,我不建议在客户端应用程序中嵌入连接字符串。 Rather, pass the connection string from a service/API when the user is authenticated.
相反,当用户通过身份验证时,从服务/API 传递连接字符串。 Depending on your scenario you'll have to decide if there are risks of leaking the connection string or challenges to update it if the key is rotated.
根据您的情况,您必须决定是否存在泄漏连接字符串的风险,或者如果密钥被轮换,是否存在更新连接字符串的挑战。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.