sheriff v0.2.1 Sheriff.Handler behaviour

Handles the dispatch of requests for missing, unethenticated, and unauthorized requests in the pipeline with a simple setup of behaviours

Summary

Callbacks

resource_missing(arg0)
resource_missing(Plug.Conn.t) :: Plug.Conn.t
unauthenticated(arg0)
unauthenticated(Plug.Conn.t) :: Plug.Conn.t
unauthorized(arg0)
unauthorized(Plug.Conn.t) :: Plug.Conn.t