mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-17 05:38:33 +08:00

* 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
8 lines
248 B
Python
8 lines
248 B
Python
from fastapi_users.router.common import ( # noqa: F401
|
|
ErrorCode,
|
|
Event,
|
|
EventHandlersRouter,
|
|
)
|
|
from fastapi_users.router.oauth import get_oauth_router # noqa: F401
|
|
from fastapi_users.router.users import get_user_router # noqa: F401
|