WeChat.Component (elixir_wechat v0.2.1)
Use for WeChat official accounts third-party platform applitions, 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)
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)
Fetch component access token, when apply it to hub, there will use verify ticket
to refetch another component access token.