Guardian v1.0.0-beta.0 Guardian.Plug.ErrorHandler behaviour View Source

A default error handler that can be used for failed authentication

Link to this section Summary

Link to this section Functions

Link to this function already_authenticated(conn, params) View Source
Link to this function no_resource(conn, params) View Source
Link to this function unauthenticated(conn, params) View Source
Link to this function unauthorized(conn, params) View Source

Link to this section Callbacks

Link to this callback already_authenticated(arg0, map) View Source
already_authenticated(Plug.Conn.t, map) :: Plug.Conn.t
Link to this callback no_resource(arg0, map) View Source
no_resource(Plug.Conn.t, map) :: Plug.Conn.t
Link to this callback unauthenticated(arg0, map) View Source
unauthenticated(Plug.Conn.t, map) :: Plug.Conn.t
Link to this callback unauthorized(arg0, map) View Source
unauthorized(Plug.Conn.t, map) :: Plug.Conn.t