ex_wechat v0.1.7 Wechat.Token
Wechat Token(access_token, jsapi_ticket, wxcard_ticket) fetcher.
It contains a Agent
to save tokens.
A token only survive for 7190 seconds.
Summary
Functions
Get the access_token from wechat server
Get the jsapi_ticket from wechat server
Get the wxcard_ticket from wechat server
Initialize the cache and the checker
Start the Wechat.Token
Types
option()
option :: {:debug, debug} | {:name, name} | {:timeout, timeout} | {:spawn_opt, Process.spawn_opt}
Functions
Initialize the cache and the checker