79f1d1198a
Remove typing-extensions dependency
2021-09-15 14:38:39 +02:00
2a50c59926
Remove asynctest dependency
2021-09-15 14:37:37 +02:00
5cba969679
Refactor verify logic into manager
2021-09-15 14:36:04 +02:00
1aea32ca4a
Tweak unit test
2021-09-15 13:35:28 +02:00
3bdae94869
Refactor OAuth logic into manager
2021-09-15 11:57:17 +02:00
9673e0a5fd
Move on_after_update to manager
2021-09-15 09:34:28 +02:00
663b7405a7
Move forgot/reset password logic to manager
2021-09-15 09:13:11 +02:00
38d4aed817
Move on_after_register to manager
2021-09-14 15:02:17 +02:00
8967138375
Inject a user manager dep callable directly to FastAPIUsers
2021-09-14 14:39:59 +02:00
480a6bc4df
Move validate_password into UserManager
2021-09-14 14:01:57 +02:00
fdc8e54253
Improve generic typing
2021-09-14 11:53:43 +02:00
90aee2d487
Tweak unit tests
2021-09-14 11:30:41 +02:00
bdf1ae5663
Fix test coverage of reset router
2021-09-14 11:27:48 +02:00
e2395998e4
Fix unit tests of authentication classes
2021-09-14 11:24:32 +02:00
dade8c263d
Revamp implementation with a manager layer and db class as dependency callable
2021-09-14 11:12:34 +02:00
ccbdd09659
docs: add stephane as a contributor for test, bug ( #723 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-09-12 12:01:26 +02:00
2900bf4df7
Add notice about UserUpdate model when upgrading to v7
2021-09-09 16:11:07 +02:00
b7ddf97127
Fix link in documentation
2021-09-09 13:36:52 +02:00
79225e6642
Add 6 -> 7 migration doc
2021-09-09 13:28:14 +02:00
4efaaaaa61
Bump version: 6.1.3 → 7.0.0
v7.0.0
2021-09-09 13:12:22 +02:00
38b72ac197
Improve docs regarding getting current user
2021-09-09 12:15:46 +02:00
370194ff6e
Remove deprecated dependency callables
2021-09-09 12:15:06 +02:00
7ae2042500
Fix #701 : factorize JWT handling and support secrets as SecretStr
2021-09-09 11:51:55 +02:00
c7f1e448a2
docs: add daanbeverdam as a contributor for code ( #712 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-09-04 18:14:00 +02:00
b8f75d98c0
Fix .all-contributorsrc
2021-09-04 18:13:31 +02:00
e59fb2c9b9
Return 403 instead of 401 when a user is known ( #705 )
...
* return 403 instead of 401 if user is known
* return 403 for unverified users
* updated docs
2021-09-04 18:11:48 +02:00
7527902e9d
Update book link
2021-09-04 18:08:23 +02:00
6436e08664
Add book notice on README
2021-09-03 16:57:57 +02:00
ce69ea5b8a
Apply formatting
2021-08-29 17:00:59 +02:00
83873338f3
Refactor models
2021-08-29 17:00:45 +02:00
a95b6c45dd
Fix mypy configuration
2021-08-29 15:36:04 +02:00
45354ee9f0
Use default_factory in model for UUID4 generation
2021-08-29 15:35:56 +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
3b550adc60
Bump version: 6.1.2 → 6.1.3
v6.1.3
2021-08-27 16:03:07 +02:00
37d03ea730
Update repository paths
2021-08-27 16:00:27 +02:00
d0501b363e
Bump version: 6.1.1 → 6.1.2
v6.1.2
2021-08-13 08:58:28 +02:00
3b6d860755
Bump fastapi
2021-08-13 08:55:20 +02:00
d2d25da9d1
Fix OAuth2 documentation ( #692 )
2021-08-13 08:46:47 +02:00
0ea3460a49
docs: add davidbrochart as a contributor for doc ( #690 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: François Voron <fvoron@gmail.com>
2021-08-12 14:21:31 +02:00
7e52db304b
docs: add BoYanZh as a contributor for doc ( #689 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-08-12 14:17:37 +02:00
8b131233d6
Fix typo ( #684 )
2021-08-12 14:17:28 +02:00
a8f0a31655
Update password-validation.md ( #680 )
2021-08-12 14:14:27 +02:00
6374cf4b7a
docs: add cosmosquark as a contributor for code ( #665 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-17 10:02:07 +02:00
bfc2380320
Enable custom JWT token audiences ( #649 )
2021-07-17 10:00:42 +02:00
adc0826886
Update BMC button
2021-07-16 17:20:56 +02:00
023bf08a7e
Revert "Switch to GitHub sponsors"
...
This reverts commit 3afc2037f1534207187b175e8a7f578643b6c399.
2021-07-16 17:00:02 +02:00
9e35dbf450
Bump version: 6.1.0 → 6.1.1
v6.1.1
2021-07-10 11:22:21 +02:00
43c76c13bc
Bump fastapi
2021-07-10 11:19:23 +02:00
9924ee702c
Fix users delete tests
2021-07-03 20:25:04 +02:00
89c87c97f4
return empty response with 204 ( #650 )
2021-07-03 20:19:48 +02:00