WeChat.Storage.Hub.fetch_access_token

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

fetch_access_token(appid, args)

View Source

Specs

fetch_access_token(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()
     }}

Fetch access_token of WeChat common application.