从 Microsoft 获取令牌。 Service Bus Token Provider

Getting token from Microsoft.​Service​Bus Token​Provider

我查看了所有可用的资源和文档,但无法弄清楚 action 参数在 Token Provider. Get Token Async 方法中表示什么。 我需要传递特定的字符串常量吗?

Reference to the method in docs.microsoft.com

因为我在这里没有得到答案(如果它可能对将来的人有用),我引用了我在 msdn 论坛上为我的问题得到的答案:

"Technically any string can be passed as action. A short, meaningful string would be better. That action is used as a part of the key in the token cache." - Sheethal J S

link: https://social.msdn.microsoft.com/Forums/en-US/483204ef-7788-4ceb-99d2-dc86e17c9967/getting-token-from-microsoftservicebus-tokenprovider?forum=servbus