Pow v0.1.0-alpha Pow.Plug.RequireAuthenticated View Source
This plug ensures that a user has been authenticated.
Example:
plug Pow.Plug.RequireAuthenticated,
error_handler: MyApp.CustomErrorHandler
You can see Pow.Phoenix.PlugErrorHandler
for an example of the error
handler module.
Link to this section Summary
Link to this section Functions
Link to this function
call(conn, config)
View Source
call(Plug.Conn.t(), Pow.Config.t()) :: Plug.Conn.t()