Commit Graph

33 Commits

Author SHA1 Message Date
Andrew Svetlov fdf8a39607 Use request.config_dict for accessing to policies 2018-09-27 10:30:18 +03: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 78e752e65f add JWTIdentityPolicy into __init__ file. (#157) 2018-05-01 11:06:35 +03:00
Alexander Pantyukhin 27ffe6dc3c init for jwt identity (#147) 2018-04-25 23:52:36 +03:00
Phil Elson 9b9b848fdd Two trivial typos. (#129) 2018-02-01 10:50:58 +02:00
Andrew Svetlov 5b2ff779c3 Switch to async/await syntax 2017-12-13 16:51:46 +02:00
Andrew Svetlov aff9a6a915 Bump to 0.2.0 2017-11-17 17:54: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
Andrew Svetlov 63870d992e Bump to 0.1.2 2017-10-17 12:37:09 +03:00
Alex Kuzmenko aef24fae3d `aiohttp-session` is not required (#107)
* aiohttp_session is not required

* fix code coverage

* has_aiohttp_session -> HAS_AIOHTTP_SESSION
2017-10-17 12:32:53 +03:00
Andrew Svetlov b4f9275616 Bump to 0.1.1 2016-10-22 20:29:30 +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 c6501bd32c Drop unused global var 2016-02-01 15:42:09 +02:00
Andrew Svetlov 77ed3154e3 Work on demo 2015-11-26 20:09:00 +02:00
Andrew Svetlov ebf4fd9375 Add couple assertions and short-cut 2015-11-20 13:39:10 +02:00
Andrew Svetlov 52d5513838 Add session identity 2015-11-19 15:25:10 +02:00
Andrew Svetlov ab81d73c34 Clarify type for permission parameter 2015-11-11 01:30:41 +02:00
Andrew Svetlov d02faf69e7 Work on docs 2015-11-06 22:45:20 +08:00
Andrew Svetlov f8d76e32ce Continue working on documentation 2015-11-05 22:59:21 +02:00
Andrew Svetlov e9065305ad Merge branch 'master' of github.com:aio-libs/aiohttp_security 2015-11-02 22:29:11 +02:00
Andrew Svetlov d4c6dc8ff5 Work on documentation 2015-11-02 22:28:10 +02:00
Andrew Svetlov 996361c233 Docs 2015-10-29 15:34:38 +02:00
Andrew Svetlov a0f73c85eb More docs 2015-10-29 10:31:24 +02:00
Andrew Svetlov 4ed19b2bb0 Update doc 2015-09-06 07:12:18 +02:00
Andrew Svetlov aea0d37ee0 Place examples in the right place 2015-09-02 13:43:37 -04: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 76574b12b0 Drop unused imports 2015-07-29 23:44:43 +03:00
Andrew Svetlov 29695bd24f Return back to passing response parameter into remember and forget methods 2015-07-29 23:41:16 +03:00
Andrew Svetlov 7ab8a7220e Fix pep8 error 2015-07-09 07:27:25 +03:00
Andrew Svetlov 7c702e5df9 Initial commit 2015-07-08 20:30:24 +03:00