IntegrateWeb.AuthPlug (IntegrateDB v0.1.0) View Source
Set conn.assigns[:current_user] using the authorization header.
If the current_user is empty, looks in the auth header, tries to parse out a valid user_id and uses that to lookup and assign the current_user.
Link to this section Summary
Link to this section Functions
Callback implementation for Plug.call/2.
Callback implementation for Plug.init/1.