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
Link to this function
call(conn, _)
Callback implementation for Plug.call/2
.
Link to this function
init(opts)
Callback implementation for Plug.init/1
.