WeChat.Component (elixir_wechat v0.2.2) View Source

Use for WeChat official accounts third-party platform applications, WeChat module is usually used for WeChat's functional APIs invoke directly, WeChat.Component is used to call to refetch/refresh authorizer's access token internally.

Link to this section Summary

Functions

Fetch authorizer appid's access token, when apply it to hub, there will use refresh_token to refresh another access token.

Fetch component access token, when apply it to hub, there will use verify ticket to refetch another component access token.

Link to this section Functions

Link to this function

fetch_access_token(appid, authorizer_appid, adapter_storage)

View Source

Fetch authorizer appid's access token, when apply it to hub, there will use refresh_token to refresh another access token.

Link to this function

fetch_component_access_token(appid, adapter_storage)

View Source

Fetch component access token, when apply it to hub, there will use verify ticket to refetch another component access token.