帐户类型为多个用户的帐户 [英] account with token type as multiple user

查看:152
本文介绍了帐户类型为多个用户的帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将令牌类型作为多用户帐户,为此我该如何进行身份验证,我三人提供微软帐户的用户名和密码来访问API,但它会抛出无效的客户端数据。

I ahve account with token type as Multiple user, for this how can i proceed with authentication, i trioed giving username and password of microsoft account to access the API , but it throws invalid client data.

我也尝试过Grant OAUth流程,但它需要密码,我必须将此作为服务到ETL,请告诉我如何通过Grant Oauth代码的密码验证并继续进行。

I also tried Grant OAUth flow, but it requires password , i have to give this as service to ETL, could you please let me know how to by pass the password validation for Grant Oauth code and proceed further.

对于多用户,为什么我们不能使用密码验证。

Also for multi user why we cant used password authentication.

推荐答案

您好。

多用户令牌的使用与是否使用UserName +密码无关(已弃用的凭据) 或AuthenticationToken(OAuth)。如果你有一个Microsoft帐户,那么OAuth是必需的,你应该使用在
使用OAuth管理用户身份验证

Usage of the multi-user token has no bearing on whether to use UserName + Password (deprecated credentials) OR AuthenticationToken (OAuth). If you have a Microsoft account then OAuth is required, and you should use AuthenticationToken as described in Managing User Authentication with OAuth.

关于OAuth的UI提示,初始同意需要一次。此后,您可以使用刷新令牌来请求新的访问令牌而无需用户同意通过UI,即您可以拥有"无头"牌。应用程序。我在上面提到的指南中也描述了

Regarding the UI prompt for OAuth, it is required once for initial consent. Thereafter you can use the refresh token to request new access tokens without further user consent via the UI i.e. you can have a "headless" app. This is also described in the guide that I mentioned above.

多用户令牌只是意味着您不需要为使用该应用的每个用户使用DeveloperToken。您可以将同一令牌应用于代表任何Bing Ads用户拨打的电话(如果您拥有用户凭据或提示Bing Ads用户通过OAuth输入其凭据
)。

The multi-user token simply means that you don't need a DeveloperToken for each user who uses the app. You can apply the same token to calls made on behalf of any Bing Ads user (If you have the user credentials or prompt a Bing Ads user to enter their credentials via OAuth).

我希望这有帮助!

Eric


这篇关于帐户类型为多个用户的帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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