131 Commits

Author SHA1 Message Date
7fc3ed185d Bump dependencies 2022-04-21 11:07:36 +02:00
7f6d038d91 Create a class helper to let configure the password hasher dynamically 2022-03-22 14:16:49 +01:00
5d8160669c Define deps only in pyproject.toml using flit 2022-03-22 11:24:51 +01:00
b054383fbf Enable RS256/ES256 and other algorithms for JWT strategy (#943)
* Implement RS256 for JWT auth

* Update docs with RS256 example

* Added ES256 tests

* Format with isort and black

* Removed example RSA key pair (so as not to tempt people to use it)

* Added pyjwt[crypto] to requirements

* Removed pycryptodome by hardcoding example keys

* Removed unnecessary Tuple import from typing
2022-03-22 10:28:00 +01:00
ff7c3957e7 Bump dependencies 2022-03-16 08:44:18 +01:00
92ef295cde Add typecheck to build steps 2022-02-18 11:10:10 +01:00
ac0b16f8d7 Bump dependencies 2022-02-18 11:01:43 +01:00
63b96a42c3 Use new Flit style metadata 2022-02-07 08:54:40 +01:00
396324b5ac Move config to pyproject.toml 2022-02-07 08:49:31 +01:00
d9c76500f2 Bump dependencies 2022-02-01 08:56:03 +01:00
e9112ed707 Bump dependencies 2022-01-09 10:16:32 +01:00
d937c4e05b Update doc for SQLALchemy2 adapter 2022-01-04 16:01:14 +01:00
c1083f77b5 Update documentation for DB strategy and fix DB dependencies versions 2022-01-03 11:26:14 +01:00
c4de66b81c Revamp authentication (#831)
* Implement Transport classes

* Implement authentication strategy classes

* Revamp authentication with Transport and Strategy

* Revamp strategy and OAuth so that they can use a callable dependency

* Update docstring

* Make ErrorCode a proper Enum and cleanup unused OpenAPI utils

* Remove useless check

* Tweak typing in authenticator

* Update docs

* Improve logout/destroy token logic

* Update docs

* Update docs

* Update docs and full examples

* Apply formatting to examples

* Update OAuth doc and examples

* Add migration doc

* Implement Redis session token

* Add Redis Session documentation

* RedisSession -> Redis

* Fix links in docs
2021-12-30 15:22:07 +01:00
1f5ce51df2 chore: Add FastAPI to Classifiers (#804) 2021-11-23 08:25:29 +01:00
91be9747f0 Add Python 3.10 to build matrix 2021-11-07 10:32:06 +01:00
8ce7855e50 Bump dependencies 2021-11-07 10:31:34 +01:00
702ad6be59 Bump dependencies 2021-10-11 08:14:16 +02:00
79f1d1198a Remove typing-extensions dependency 2021-09-15 14:38:39 +02:00
370194ff6e Remove deprecated dependency callables 2021-09-09 12:15:06 +02:00
848315badc Remove DB dependencies (#704)
* Remove database adapter in favor of external dependencies

* Prevent flit from installing all optional dependencies when testing build

* Remove MongoDB service during CI build
2021-08-27 17:01:50 +02:00
37d03ea730 Update repository paths 2021-08-27 16:00:27 +02:00
3b6d860755 Bump fastapi 2021-08-13 08:55:20 +02:00
43c76c13bc Bump fastapi 2021-07-10 11:19:23 +02:00
5b76d5d90a Bump dependencies 2021-05-13 17:20:08 +02:00
5ad11d4fc0 Bump dependencies 2021-03-29 07:45:06 +02:00
393b0054cd Bump packages 2021-03-19 18:41:54 +01:00
579313f887 Ormar backend support (#470)
* Add db adapter for ormar (wip)

* finish ormar support enough to pass tests

* remove idea folder

* update ormar version in tool.flit.metadata.requires-extra

* Add documentation about ormar

* Apply isort and black formatting

* Restore python 3.7 in Pipfile

* Update build.yml

* Add missing test for ormar update

* changes after review

Co-authored-by: Paolo Dina <paolo.dina@codingmoth.com>
Co-authored-by: collerek <collerek@gmail.com>
2021-02-07 09:34:40 +01:00
7c5573fbbc Bump dependencies 2021-02-06 11:07:52 +01:00
253e2f5379 Add Deprecated dependency to pyproject 🤦‍♂️ 2021-01-14 09:34:00 +01:00
9a0aee6203 Fix pyjwt version on pyproject.toml 2020-12-24 09:51:46 +01:00
92c523c379 Upgrade to pyjwt==2.0.0 2020-12-24 09:47:34 +01:00
8d008fc6a6 Bump dependencies 2020-12-23 17:31:41 +01:00
d5ae105d08 Bump dependencies 2020-11-30 14:08:16 +01:00
31168ce9d3 Fix #401: missing typing-extensions dependency 2020-11-30 13:44:19 +01:00
2026fb6fff Bump packages 2020-11-17 08:15:56 +01:00
ad56933836 Bump dependencies 2020-10-14 14:11:51 +02:00
e18be91f06 Update PyPi classifiers 2020-09-30 08:20:28 +02:00
f3298f3c11 Bump dependencies 2020-09-30 08:17:02 +02:00
8f07b58016 Bump dependencies 2020-08-26 15:47:56 +02:00
0d8e0730fc Bump dependencies 2020-08-13 14:03:19 +02:00
754b6f71d9 Bump dependencies 2020-07-21 15:25:16 +02:00
8457083093 Bump dependencies 2020-07-13 14:20:41 +02:00
624172ccf9 Bump fastapi dependency 2020-06-15 14:17:44 +02:00
787c2b67b8 Bump dependencies 2020-06-15 14:09:05 +02:00
8431a4b1b2 Bump packages 2020-06-02 07:57:04 +02:00
b9cea9c1ed Bump fastapi dependency 2020-05-26 16:36:53 +02:00
b7d3023f7f Bump email-validator 2020-05-24 10:29:27 +02: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
bf5c122e6d Bump dependencies 2020-05-19 08:02:08 +02:00