LOC-27: Auth headers support

Issue Information

Issue Type: New Feature
Priority: Major
Status: Open

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: LocalChat (LOC)
Resolution: Unresolved
Target version: V0.0.3,
Components: Client ,

Created: 2018-05-26 11:04:04
Time Spent Working

The command line option --auth should tell the client that the user wants to add Basic authentication (or maybe digest) headers to every request.

Once the client has launched it should prompt the user to enter the credentials (we don't want them on the commandline as they'll appear in ps output).

The use-case is an extension of that for --verify. If I "hide" the server under https://www.example.com/mysecretchat I may want to ignore (or better, 404) any requests that do not include a valid authentication header so that the path cannot so easily be discovered.

Issue Links

Toggle State Changes