ef4a54c204
Allow lifetime_seconds to be None to get session cookies
2021-03-19 18:19:58 +01:00
7721f8dcc1
Revamp authentication routes structure ( #201 )
...
* Fix #68 : use makefun to generate dynamic dependencies
* Remove every Starlette imports
* Split every routers and remove event handlers
* Make users router optional
* Pass after_update handler to get_users_router
* Update documentation
* Remove test file
* Write migration doc for splitted routers
2020-05-24 10:18:01 +02:00
0a0dcadfdc
Use real UUID for User id. and OAuthAccount id. ( #198 )
...
* Use UUID for user id and oauth account id
* Update documentation for UUID
* Tweak GUID definition of SQLAlchemy to match Tortoise ORM one
* Write migration doc
2020-05-21 16:40:33 +02:00
05b1df9a16
Implement logout route
2020-02-03 10:12:33 +01:00
dbbb9144b0
Expose more options for Cookie authentication
2020-01-11 10:55:02 +01:00
104a6c6bf5
Inject every models variations and DB model in DB adapters ( #84 )
...
* Inject every model variations in router and DB model in DB adapters
* Update documentation and import Tortoise in db module
* Use path operation decorator dependencies for superuser routes
2020-01-04 15:36:34 +01:00
49deb437a6
Fix #42 : multiple authentication backends ( #47 )
...
* Revamp authentication to allow multiple backends
* Make router generate a login route for each backend
* Apply black
* Remove unused imports
* Complete docstrings
* Update documentation
* WIP add cookie auth
* Complete cookie auth unit tests
* Add documentation for cookie auth
* Fix cookie backend default name
* Don't make cookie return a Response
2019-12-04 13:32:49 +01:00