|
2028cb1362
|
Revised the User class in the AuthenticationTestCase and FlaskLoginTestCase test classes to accept the clear-text password instead of the password hash, to simplify the code.
|
2022-12-03 14:30:22 +08:00 |
|
|
491da61a79
|
Fixed the AuthenticationTestCase and FlaskLoginTestCase test cases to store the user instead of finding the user through flask-login or g, so that the visit tests work without the application context.
|
2022-12-03 11:55:52 +08:00 |
|
|
bbaebbc80d
|
Fixed the long lines in the AuthenticationTestCase and FlaskLoginTestCase test cases.
|
2022-11-30 23:35:04 +08:00 |
|
|
be163d35fb
|
Added the on-login callback for the log in bookkeeping.
|
2022-11-27 06:58:29 +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 |
|
|
cb5cfaf7d4
|
Added logging out.
|
2022-11-25 08:40:27 +11:00 |
|
|
dda8472a76
|
Revised the test_stale_opaque tests of the AuthenticationTestCase and FlaskLoginTestCase test cases to use the super method instead of the overridden method of the Client class.
|
2022-11-25 00:18:43 +11:00 |
|
|
177f549786
|
Changed the test_stale tests to test_stale_opaque that also tests if the opaque value is still the same across the client authentication requests.
|
2022-11-24 23:55:49 +11:00 |
|
|
ccec1365bf
|
Revised the AuthenticationTestCase and FlaskLoginTestCase test cases for simplicity and readability.
|
2022-11-24 23:46:45 +11:00 |
|
|
78514a8f17
|
Added to test the stale value of the WWW-Authenticate response header in the AuthenticationTestCase and FlaskLoginTestCase test cases.
|
2022-11-24 21:53:21 +11:00 |
|
|
292d0aaf09
|
Reordered the code in the test cases.
|
2022-11-23 23:36:41 +11:00 |
|
|
bf15bcf1f1
|
Revised the request methods of the routes in the test cases.
|
2022-11-23 23:23:38 +11:00 |
|
|
0a69f5d3c1
|
Added the initial version that works.
|
2022-11-23 18:12:04 +11:00 |
|