authable v0.6.2 Authable.Renderer behaviour

A behaviour for all renderer modules called by other authable modules.

Creating a custom module

If you are going to create a custom renderer module, then you need to implement following function:

  • render

Summary

Callbacks

Puts response body inside Plug.Conn and returns Plug.Conn

Callbacks

render(atom, atom, atom)

Specs

render(Plug.Conn, Atom, Map) :: Plug.Conn

Puts response body inside Plug.Conn and returns Plug.Conn