View Source MishkaInstaller.Reference.OnUserAfterLogout behaviour (Mishka Installer v0.0.3)
This event is triggered whenever a user is successfully logged out. if there is any active module in this section on state,
this module sends a request as a Task tool to the developer call function that includes user_id()
, ip()
, endpoint()
.
It should be noted; This process does not interfere with the main operation of the system.
It is just a sender and is active for both side endpoints.
Link to this section Summary
Link to this section Types
@type conn() :: Plug.Conn.t()
@type endpoint() :: :html | :api
@type optional_callbacks() :: {:ok, ref(), registerd_info()} | {:error, ref(), reason()}
@type ref() :: :on_user_after_logout
@type registerd_info() :: MishkaInstaller.PluginState.t()
@type t() :: state()
@type user_id() :: <<_::288>>
Link to this section Callbacks
@callback delete(registerd_info()) :: optional_callbacks()
@callback restart(registerd_info()) :: optional_callbacks()
@callback start(registerd_info()) :: optional_callbacks()
@callback stop(registerd_info()) :: optional_callbacks()
@callback unregister(registerd_info()) :: optional_callbacks()