UeberauthToken.Worker (ueberauth_token v0.2.0-dev)
UeberauthToken.Worker is a background worker which verifies the authenticity of the cached active tokens.
Tokens will be removed after their expiry time when the :ttl
option is set by the Cachex.put
function. However, if one wants to be more aggressive in checking the cached token
validity then this module can be optionally activated.
See full description of the config options in UeberauthToken.Config
@moduledoc.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(opts)
Callback implementation for GenServer.init/1
.
Link to this function
periodic_checking(provider)
Link to this function
start_link(opts \\ [])
Link to this function