oauth2fast-fastapi 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oauth2fast_fastapi-0.2.0/src/oauth2fast_fastapi.egg-info → oauth2fast_fastapi-0.2.2}/PKG-INFO +2 -1
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/pyproject.toml +3 -1
- oauth2fast_fastapi-0.2.2/src/oauth2fast_fastapi/__version__.py +1 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/mail/service.py +4 -4
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2/src/oauth2fast_fastapi.egg-info}/PKG-INFO +2 -1
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi.egg-info/requires.txt +1 -0
- oauth2fast_fastapi-0.2.0/src/oauth2fast_fastapi/__version__.py +0 -1
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/LICENSE +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/MANIFEST.in +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/README.md +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/docs/env.example +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/docs/usage.md +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/examples/basic_usage.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/examples/complete_flow.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/examples/custom_user.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/setup.cfg +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/__init__.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/database.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/dependencies.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/mail/__init__.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/mail/templates/verification.html +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/mail/templates/welcome.html +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/__init__.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/bases.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/mixins.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/user_model.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/routers/__init__.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/routers/base_router.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/routers/users_router.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/__init__.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/mixins.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/token_schema.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/user_schema.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/verification_schema.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/settings.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/__init__.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/password_utils.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/token_utils.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/verification_utils.py +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi.egg-info/SOURCES.txt +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi.egg-info/dependency_links.txt +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi.egg-info/top_level.txt +0 -0
- {oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/tests/test_integration.py +0 -0
{oauth2fast_fastapi-0.2.0/src/oauth2fast_fastapi.egg-info → oauth2fast_fastapi-0.2.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oauth2fast-fastapi
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Fast and secure OAuth2 authentication module for FastAPI with email verification
|
|
5
5
|
Author-email: Angel Daniel Sanchez Castillo <angeldaniel.sanchezcastillo@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -50,6 +50,7 @@ Requires-Dist: passlib[argon2]>=1.7.4
|
|
|
50
50
|
Requires-Dist: argon2-cffi>=25.0.0
|
|
51
51
|
Requires-Dist: python-multipart>=0.0.6
|
|
52
52
|
Requires-Dist: log2fast-fastapi>=0.1.0
|
|
53
|
+
Requires-Dist: sqlmodel>=0.0.16
|
|
53
54
|
Provides-Extra: dev
|
|
54
55
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
55
56
|
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "oauth2fast-fastapi"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Fast and secure OAuth2 authentication module for FastAPI with email verification"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -38,6 +38,8 @@ dependencies = [
|
|
|
38
38
|
"python-multipart>=0.0.6",
|
|
39
39
|
# Logging
|
|
40
40
|
"log2fast-fastapi>=0.1.0",
|
|
41
|
+
# ORM
|
|
42
|
+
"sqlmodel>=0.0.16",
|
|
41
43
|
]
|
|
42
44
|
|
|
43
45
|
[project.optional-dependencies]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.2"
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/mail/service.py
RENAMED
|
@@ -271,11 +271,11 @@ async def send_verification_email(email: str, verification_url: str) -> None:
|
|
|
271
271
|
Raises:
|
|
272
272
|
Exception: If email sending fails
|
|
273
273
|
"""
|
|
274
|
-
from
|
|
274
|
+
from mailing2fast_fastapi import get_manager
|
|
275
275
|
|
|
276
|
-
# Get sender for "auth" account
|
|
277
|
-
|
|
278
|
-
sender
|
|
276
|
+
# Get sender for "auth" account using the manager directly
|
|
277
|
+
manager = get_manager()
|
|
278
|
+
sender = manager.get_sender("auth")
|
|
279
279
|
|
|
280
280
|
# Get support email from the auth account settings
|
|
281
281
|
from mailing2fast_fastapi import settings as mail_settings
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2/src/oauth2fast_fastapi.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oauth2fast-fastapi
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Fast and secure OAuth2 authentication module for FastAPI with email verification
|
|
5
5
|
Author-email: Angel Daniel Sanchez Castillo <angeldaniel.sanchezcastillo@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -50,6 +50,7 @@ Requires-Dist: passlib[argon2]>=1.7.4
|
|
|
50
50
|
Requires-Dist: argon2-cffi>=25.0.0
|
|
51
51
|
Requires-Dist: python-multipart>=0.0.6
|
|
52
52
|
Requires-Dist: log2fast-fastapi>=0.1.0
|
|
53
|
+
Requires-Dist: sqlmodel>=0.0.16
|
|
53
54
|
Provides-Extra: dev
|
|
54
55
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
55
56
|
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/dependencies.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/mail/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/__init__.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/bases.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/mixins.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/models/user_model.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/routers/__init__.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/routers/base_router.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/routers/users_router.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/__init__.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/mixins.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/token_schema.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/schemas/user_schema.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/__init__.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/password_utils.py
RENAMED
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi/utils/token_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{oauth2fast_fastapi-0.2.0 → oauth2fast_fastapi-0.2.2}/src/oauth2fast_fastapi.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|