WeChat.Storage.Hub.refresh_access_token

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

refresh_access_token(appid, access_token, args)

View Source

Specs

refresh_access_token(
  appid :: String.t(),
  access_token :: 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()
     }}

Refresh access_token of WeChat common application.