Wechat v0.4.5 Wechat.Adapter behaviour
Adapter interface.
Link to this section Summary
Link to this section Types
Link to this type
appid()
appid()
appid() :: binary()
appid() :: binary()
Link to this section Callbacks
Link to this callback
read_token(appid)
read_token(appid)
read_token(appid()) :: {:ok, Wechat.AccessToken.t()} | :error
read_token(appid()) :: {:ok, Wechat.AccessToken.t()} | :error
Link to this callback
write_token(appid, arg1)
write_token(appid, arg1)
write_token(appid(), Wechat.AccessToken.t()) :: :ok
write_token(appid(), Wechat.AccessToken.t()) :: :ok