curator v0.1.0 Curator.Hooks behaviour
This module hooks into the curator lifecycle.
Summary
Callbacks
after_extension(conn, type, resource)
after_extension(conn :: Plug.Conn.t, type :: atom, resource :: term) :: Plug.Conn.t
after_failed_sign_in(conn, resource, location)
after_failed_sign_in(conn :: Plug.Conn.t, resource :: term, location :: atom) :: Plug.Conn.t
after_sign_in(conn, resource, location)
after_sign_in(conn :: Plug.Conn.t, resource :: term, location :: atom) :: Plug.Conn.t
before_sign_in(resource, type)
before_sign_in(resource :: term, type :: atom) ::
:ok |
{:error, atom | String.t}