如何使用Refreshtoken重新生成访问令牌 [英] How to regenrate access token using Refreshtoken
本文介绍了如何使用Refreshtoken重新生成访问令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我该如何 使用php bingads API脚本使用刷新令牌重新生成访问令牌
How can I regenerate access token using Refresh token using php bingads API script
推荐答案
Hello。
Hello.
获取新的访问令牌并使用现有刷新令牌刷新令牌,如中所述Bing Ads API OAuth指南 授权类型应为
为'refresh_token'。如果您使用当前的 PHP oauth示例作为起点,则可以修改
To get a new access token and refresh token with an existing refresh token, as described in the Bing Ads API OAuth guide the grant type should be 'refresh_token'. If you are using the current PHP oauth sample as a starting point, you can modify the
accessTokenExchangeParams类似于以下内容:
accessTokenExchangeParams similar to the following:
// These params will be added to the URL used in
// HTTP POST below to request an access token
accessTokenExchangeParams = array(
'client_id'=>
accessTokenExchangeParams = array( 'client_id' =>
这篇关于如何使用Refreshtoken重新生成访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文