如何为服务创建不同的客户端凭据? [英] How to create different client credentials for a service?

查看:85
本文介绍了如何为服务创建不同的客户端凭据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算将Microsoft Text Translator嵌入到用WPF框架编写的桌面应用程序中。我希望为我的客户提供用户统计信息(即客户A上周制作了xyz字符翻译,客户B上个月制作了1536个翻译字符等) 


有没有办法管理这个?我想到的第一个选项是为每个不同的客户端提供不同的API密钥,但这似乎不可能,因为Azure只为翻译服务提供了2个API密钥。

解决方案

只是要确认一下,您是否正在利用Azure API应用程序?如果不是,对于
这个
的专业帮助  ; 查询(
Microsoft Translator -
Cognitive Services和Azure服务集合的一部分,是基于云的文本翻译API。
您可以在上发布您的查询 SO ,用于接收来自正确专家组的见解。
在此期间,您可以查看这些文件

常见问题解答
和< a href ="https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-reference">
Translator Text API v3.0 for细节。


I am planning to embed Microsoft Text Translator to my desktop app written with WPF framework. I want to have user statistics for my clients (i.e. client A made xyz chars of translation last week, client B made 1536 chars of translation last month etc.) 

Is there a way of managing this? The first option comes to my mind is providing different API keys to each different client but this doesnt seem to be possible since Azure provides only 2 API keys for translator service.

解决方案

Just to confirm, are you leveraging Azure API Apps? If no, for a specialized assistance on this  query (Microsoft Translator - part of the collection of Cognitive Services and an Azure service, is a cloud-based text translation API.), you may post your query on SO, for receiving insights from the right set of experts. In the interim, you may take a look at these documents Frequently asked questions and Translator Text API v3.0 for details.


这篇关于如何为服务创建不同的客户端凭据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆