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

fetch_access_token(appid, adapter_storage)

View Source

A function helper to fetch common application's access token.

When apply it to hub, if no available access token from hub's storage, there will use the set account's secret_key to refresh a new one.