ProcaWeb.Plugs.BasicAuthPlug (proca v3.4.1)

A plug that reads JWT from Authorization header and authenticates the user

Link to this section Summary

Functions

Return the current user context based on the authorization header

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Link to this section Functions

Link to this function

basic_auth(conn)

Return the current user context based on the authorization header

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.