IntegrateWeb.AuthRequiredPlug (IntegrateDB v0.1.0) View Source

Ensures that we have a conn.assigns[:current_user].

If not, returns a 401 response with a JSON error payload.

Link to this section Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Link to this section Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.