TwitchApi.AppAccessToken (TwitchApi v0.1.2) View Source
This module provides a refresh process and holds the state for twitch app access tokens
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback function when the GenServer fetches the status
Callback for the GenServer to handle the refresh message
Callback function when the GenServer is started
Starts the GenServer
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
Callback function when the GenServer fetches the status
Specs
get_app_access_token() :: binary()
Specs
handle_info(:fetch, state()) :: {:noreply, state()}
Callback for the GenServer to handle the refresh message
Specs
init(any()) :: {:ok, state()}
Callback function when the GenServer is started
Specs
Starts the GenServer