9 Commits

Author SHA1 Message Date
42ddc241b9 Fix typo in auth docs stategies/database.md (#1437) 2024-09-13 17:46:25 +02:00
0f4cf0c694 Add doc about custom settings when using Beanie (#1193) 2023-04-18 11:09:33 +02:00
5c48283155 Update docs for SQLAlchemy 2.0 2023-02-13 17:28:49 +01:00
9d374add50 Add important hint to documentation (#1149)
The documentation was missing a hint that the `AccessToken` ODM model has to be added to the `document_models` array argument for Beanie to know this model.
2023-01-25 09:06:50 +01: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
403bec9c05 Update mkdocs and configure docs versioning 2022-05-04 10:23:42 +02:00
913af971fe Fix wrong import in MongoDB strategy example (#901) 2022-02-02 14:50:27 +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