获取(刷新)授权公众号的令牌 :params authorizer_appid: 授权方appid :params authorizer_refresh_token: 授权方的刷新令牌
(
self, authorizer_appid, authorizer_refresh_token)
| 392 | return result |
| 393 | |
| 394 | def refresh_authorizer_token( |
| 395 | self, authorizer_appid, authorizer_refresh_token): |
| 396 | """ |
| 397 | 获取(刷新)授权公众号的令牌 |
| 398 | |
| 399 | :params authorizer_appid: 授权方appid |
| 400 | :params authorizer_refresh_token: 授权方的刷新令牌 |
| 401 | """ |
| 402 | return self.post( |
| 403 | '/component/api_authorizer_token', |
| 404 | data={ |
| 405 | 'component_appid': self.component_appid, |
| 406 | 'authorizer_appid': authorizer_appid, |
| 407 | 'authorizer_refresh_token': authorizer_refresh_token |
| 408 | } |
| 409 | ) |
| 410 | |
| 411 | def get_authorizer_info(self, authorizer_appid): |
| 412 | """ |