plug_mishka_auth v0.0.2 MishkaAuth.Plug.LoginedCurrentTokenPlug View Source

Link to this section Summary

Link to this section Functions

Specs

call(Plug.Conn.t(), any()) :: Plug.Conn.t()
Link to this function

check_session(arg, conn, default)

View Source

Specs

check_session(
  {:error, :get_session, :current_token}
  | {:ok, :get_session, :current_token, any()},
  Plug.Conn.t(),
  any()
) :: Plug.Conn.t()

Specs

init(any()) :: any()