5 Commits

Author SHA1 Message Date
cd325da2e9 Fix auth full example missing oauth optional dependency 2023-07-14 09:23:27 +02:00
4bd618503b Update Beanie docs 2023-04-14 15:46:11 +02:00
564eb642c8 Fix SECRET value in OAuth full examples 2022-09-08 08:31:53 +02:00
6c03d51a64 Fix Beanie OAuth example 2022-08-08 08:45:17 +02:00
72aa68c462 Native model and generic ID (#971)
* Use a generic Protocol model for User instead of Pydantic

* Remove UserDB Pydantic schema

* Harmonize schema variable naming to avoid confusions

* Revamp OAuth account model management

* Revamp AccessToken DB strategy to adopt generic model approach

* Make ID a generic instead of forcing UUIDs

* Improve generic typing

* Improve Strategy typing

* Tweak base DB typing

* Don't set Pydantic schemas on FastAPIUsers class: pass it directly on router creation

* Add IntegerIdMixin and export related classes

* Start to revamp doc for V10

* Revamp OAuth documentation

* Fix code highlights

* Write the 9.x.x ➡️ 10.x.x migration doc

* Fix pyproject.toml
2022-05-05 14:51:19 +02:00