Sam Bull
b3b5367460
Add type annotations.
2020-12-18 17:58:38 +00:00
Andrew Svetlov
9b1d08c661
Update to 0.3.0
2018-09-06 13:06:55 +03:00
Oleh Kuchuk
42769df454
JWTIdentityPolicy polishing ( #161 )
...
* Polishing JWT policy
* Simplify tests
* Minor cleaning
2018-05-21 22:07:14 +03:00
Alexander Pantyukhin
27ffe6dc3c
init for jwt identity ( #147 )
2018-04-25 23:52:36 +03:00
Andrew Svetlov
5b2ff779c3
Switch to async/await syntax
2017-12-13 16:51:46 +02:00
Andrew Lytvyn
92e6fec6f5
is_anonymous, login_required, has_permission helpers ( #114 )
...
* add is_anonymous helper function and login_required, has_permission decorators
* add docs for `is_anonymous`, `login_required` and `has_permission` functions
* permission can be `enum.Enum` object; cover with tests
* isort fix
2017-11-17 17:51:40 +02:00
Nickolai Novik
d652f29df5
make compatible tests
2017-03-22 00:10:14 +02:00
Andrew Svetlov
0a7ec47274
Fix tests
2016-09-27 17:57:11 +03:00
Misha Behersky
820dcc8d93
Create working demo ( #5 )
...
* Add docs example and update demo source code
* Fail with debug
* Fix tests
* Update sql scripts
* Update docs
* Add checking for the password
* Update documentation with launch/usage example
* Launch flake8 instead of pep8 and pyflakes
2016-08-30 20:38:59 +03:00
Andrew Svetlov
52d5513838
Add session identity
2015-11-19 15:25:10 +02:00
Andrew Svetlov
ab2ef11bf1
Convert test_cookies_identity into pytest style
2015-11-19 14:36:15 +02:00
Andrew Svetlov
688df9d2d2
Convert test_no_identity into pytest style
2015-11-19 14:17:34 +02:00
Andrew Svetlov
8f527777f3
Convert test_dict_autz into pytest style
2015-11-19 14:07:06 +02:00
Andrew Svetlov
e29666cea9
Convert test_no_auth into pytest style
2015-11-19 13:53:38 +02:00
Andrew Svetlov
29869c710f
Add test for remember/forbid when library was not setted up
2015-08-05 13:32:49 +03:00
Andrew Svetlov
ff8ecf06da
Return authenticated anonymous if library was not setted up
2015-08-04 21:19:01 +03:00
Andrew Svetlov
1a7489354b
Fix tests
2015-07-29 23:58:55 +03:00
Andrew Svetlov
1aff330216
Run test server in non-debug mode to prevent noisy reports
2015-07-08 20:45:00 +03:00
Andrew Svetlov
7c702e5df9
Initial commit
2015-07-08 20:30:24 +03:00