Wechat v0.4.7 Wechat.Adapter behaviour

Adapter interface.

Link to this section Summary

Link to this section Types

Link to this type

appid()

appid() :: binary()

Link to this section Callbacks

Link to this callback

read_token(appid)

read_token(appid()) :: {:ok, Wechat.AccessToken.t()} | :error
Link to this callback

write_token(appid, arg2)

write_token(appid(), Wechat.AccessToken.t()) :: :ok