Public extension contract for handing off authenticated subjects to host sessions.
Summary
Callbacks
@callback establish_session(subject :: map(), context :: map(), opts :: keyword()) :: {:ok, map() | Plug.Conn.t()} | {:error, Relyra.Error.t()}
Functions
@spec establish_session(map(), map(), keyword()) :: {:ok, map() | Plug.Conn.t()} | {:error, Relyra.Error.t()}