Configuration

The cheatsheet for building a PortalServer

defmodule Src.PortalServers.Demo do
  use GenServer

  @config %{
    store_args: %{repo: MyApp.Repo},
    store_plugin: Sorcery.Plugins.Ecto
  }

  def init() do
  end


end
t: :stringtypesOptional?DefaultDescription
:prune_deadintegerfalse60_000How often (ms) do we remove queries from dead pids.
:store_pluginmodulefalseSorcery.Plugins.GenServerModule for reading and writing to storage
:store_argsmapfalse%{}Any extra data needed by the store_plugin goes here