MCPcopy Create free account
hub / github.com/doraemonext/wechat-python-sdk / grant_token

Method grant_token

wechat_sdk/basic.py:316–322  ·  view source on GitHub ↗

获取 Access Token 详情请参考 http://mp.weixin.qq.com/wiki/11/0e4b294685f817b95cbed85ba5e82b8f.html :return: 返回的 JSON 数据包

(self, **kwargs)

Source from the content-addressed store, hash-verified

314 return self._encrypt_response(response)
315
316 def grant_token(self, **kwargs):
317 """
318 获取 Access Token
319 详情请参考 http://mp.weixin.qq.com/wiki/11/0e4b294685f817b95cbed85ba5e82b8f.html
320 :return: 返回的 JSON 数据包
321 """
322 return self.conf.grant_access_token()
323
324 def grant_jsapi_ticket(self, **kwargs):
325 """

Callers 1

test_grant_tokenMethod · 0.95

Calls 1

grant_access_tokenMethod · 0.80

Tested by 1

test_grant_tokenMethod · 0.76