WeChat.Storage.ComponentClient.fetch_ticket
You're seeing just the callback
fetch_ticket
, go back to WeChat.Storage.ComponentClient module for more information.
Specs
fetch_ticket( appid :: String.t(), authorizer_appid :: String.t(), type :: String.t(), args :: term() ) :: {:ok, %WeChat.Ticket{ expires_in: term(), timestamp: term(), type: term(), value: term() }} | {:error, %WeChat.Error{ __exception__: term(), errcode: term(), http_status: term(), message: term(), reason: term() }}
Fetch authorizer's ticket of WeChat component application, the option of type
parameter is "wx_card" or "jsapi"(refer WeChat Official document).