Commit Graph

24 Commits

Author SHA1 Message Date
d1fd0c3693 Simplified README.rst. 2023-04-23 22:43:56 +08:00
27d27127f6 Added the DIGEST_AUTH_REALM configuration variable as the recommended way to set the authentication realm. Changed the default realm from an empty string to "Login Required". 2023-01-06 00:20:40 +08:00
cdc057f851 Renamed the package from flask-digest-auth to Flask-DigestAuth, by the Flask recommended extension guidelines https://flask.palletsprojects.com/en/latest/extensiondev/. 2023-01-04 21:29:12 +08:00
514e9255aa Replaced "my_user" and "my_pass" with USERNAME and PASSWORD in the examples of the test client in the documentation, to avoid GitGuardian from detecting them as real passwords. 2022-12-07 18:55:52 +08:00
c6b8569543 Fixed the documentation on the pytest example. 2022-12-06 22:46:52 +08:00
765822a300 Revised the documentation. 2022-12-06 21:54:10 +08:00
cbbd2248f0 Added the pytest test example to README.rst. 2022-12-06 07:54:49 +08:00
0432561b21 Revised the minor problems in README.rst. 2022-11-30 08:31:26 +08:00
be163d35fb Added the on-login callback for the log in bookkeeping. 2022-11-27 06:58:29 +11:00
2aaaa9f47f Changed the BasePasswordGetter and BaseUserGetter from abstract to non-abstract, to simplify the code. 2022-11-27 06:32:02 +11:00
cb3e313e21 Revised the FlaskLoginTestCase test case and README.rst for illustrations on how to retrieve the currently logged-in user. 2022-11-26 18:59:17 +11:00
af8c3a484c Revised so that you always call digest_auth.init_app(), to avoid confusion. It remembers the current application. The logout() method no longer need current_app for the current application. 2022-11-25 09:14:57 +11:00
65c3322ecc Revised the routes in the examples in README.rst. 2022-11-25 08:41:30 +11:00
cb5cfaf7d4 Added logging out. 2022-11-25 08:40:27 +11:00
2156aa710f Added the instructions on setting the password hash in README.rst. 2022-11-24 21:34:48 +11:00
a43c6aea89 Added rationale to HTTP Digest Authentication in README.rst. 2022-11-24 21:25:01 +11:00
8e29c91f92 Revised README.rst. 2022-11-24 21:10:25 +11:00
f2e51b46cb Fixed a grammar typo in README.rst. 2022-11-24 08:20:18 +11:00
fa943b4831 Added the installation instructions to README.rst. 2022-11-24 07:43:07 +11:00
c748fcdb16 Revised README.rst for various places. 2022-11-24 07:38:20 +11:00
5e5d929676 Added the test client instruction to README.rst. 2022-11-24 07:31:46 +11:00
af7af3943a Added the usage instruction to README.rst. 2022-11-24 01:42:03 +11:00
0a69f5d3c1 Added the initial version that works. 2022-11-23 18:12:04 +11:00
3a460ca890 Added LICENSE, MANIFEST.in, pyproject.toml, README.rst, and setup.cfg as the starting project skeleton. 2022-11-23 18:07:00 +11:00