Files
fastapi-users/pyproject.toml
François Voron 88b133d41c Implement OAuth2 flow (#88)
* Move users router in sub-module

* Factorize UserRouter into EventHandlersRouter

* Implement OAuth registration/login router

* Apply isort/black

* Remove temporary pytest marker

* Fix httpx-oauth version in lock file

* Ensure ON_AFTER_REGISTER event is triggered on OAuth registration

* Add API on FastAPIUsers to generate an OAuth router

* Improve test coverage of FastAPIUsers

* Small fixes

* Write the OAuth documentation

* Fix SQL unit-tests by avoiding collisions in SQLite db files
2020-01-17 11:43:17 +01:00

48 lines
1.1 KiB
TOML

[build-system]
requires = ["flit_core >=2,<3"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "fastapi_users"
dist-name = "fastapi-users"
author = "François Voron"
author-email = "fvoron@gmail.com"
home-page = "https://github.com/frankie567/fastapi-users"
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Session",
]
description-file = "README.md"
requires-python = ">=3.7"
requires = [
"fastapi ==0.46.0",
"passlib[bcrypt] ==1.7.1",
"email-validator ==1.0.5",
"pyjwt ==1.7.1",
"python-multipart ==0.0.5",
]
[tool.flit.metadata.requires-extra]
sqlalchemy = [
"sqlalchemy ==1.3.12",
"databases ==0.2.6",
]
mongodb = [
"motor ==2.1.0",
]
tortoise-orm = [
"tortoise-orm ==0.15.7"
]
oauth = [
"httpx-oauth ==0.2.0"
]
[tool.flit.metadata.urls]
Documentation = "https://frankie567.github.io/fastapi-users/"