PlugAuth.Authentication.Utils

Summary

assign_user_data(conn, user_data)
get_authenticated_user(conn)
get_first_req_header(conn, header)
halt_with_error(conn, msg \\ "unauthorized")

Functions

assign_user_data(conn, user_data)
get_authenticated_user(conn)
get_first_req_header(conn, header)
halt_with_error(conn, msg \\ "unauthorized")