gpt4 book ai didi

azure - Azure.Messaging.ServiceBus 的 ServiceBusClient 类的 token 到期时间

转载 作者:行者123 更新时间:2023-12-03 07:09:11 24 4
gpt4 key购买 nike

如果我使用 Sas token 方法创建 ServiceBusClient,是否有方法(属性)从 ServiceBusClient 对象获取 token 到期时间?因为,我将丢弃 token 并沿着时间线,我希望能够识别到期时间并在抛出 token 到期错误之前刷新它。

最佳答案

查看 ServiceBusClient 文档 here ,无法从该对象的实例中提取 token 到期时间。

这是您需要自己处理的事情。

关于azure - Azure.Messaging.ServiceBus 的 ServiceBusClient 类的 token 到期时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70782350/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com