WeChat.Storage.ComponentHub.fetch_access_token

You're seeing just the callback fetch_access_token, go back to WeChat.Storage.ComponentHub module for more information.
Link to this callback

fetch_access_token(appid, authorizer_appid, args)

View Source

Specs

fetch_access_token(
  appid :: String.t(),
  authorizer_appid :: String.t(),
  args :: term()
) ::
  {:ok,
   %WeChat.Token{
     access_token: term(),
     expires_in: term(),
     refresh_token: term(),
     timestamp: term()
   }}
  | {:error,
     %WeChat.Error{
       __exception__: term(),
       errcode: term(),
       http_status: term(),
       message: term(),
       reason: term()
     }}

Get authorizer's access_token for WeChat component application.