Coherence.RequireLogin (Coherence v0.8.0)

Plug to protect controllers that require login.

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

Link to this function

call(conn, opts)

@spec call(Plug.Conn.t(), any()) :: Plug.Conn.t()

Callback implementation for Plug.call/2.

@spec init(keyword()) :: map()

Callback implementation for Plug.init/1.