fastapi-ext-pkg 0.4.0__tar.gz → 0.4.1__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.
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/PKG-INFO +1 -1
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_ext_pkg.egg-info/PKG-INFO +1 -1
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/security/auth.py +2 -1
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/pyproject.toml +1 -1
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/README.md +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_ext_pkg.egg-info/SOURCES.txt +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_ext_pkg.egg-info/dependency_links.txt +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_ext_pkg.egg-info/requires.txt +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_ext_pkg.egg-info/top_level.txt +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/__init__.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/databases/__init__.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/databases/redis.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/middlewares/__init__.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/middlewares/remove_path.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/orm/__init__.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/orm/sqlalchemy.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_extras/security/__init__.py +0 -0
- {fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/setup.cfg +0 -0
|
@@ -11,6 +11,7 @@ from pydantic import AnyHttpUrl
|
|
|
11
11
|
from typing_extensions import Annotated
|
|
12
12
|
|
|
13
13
|
logger = logging.getLogger(__name__)
|
|
14
|
+
ssl_context = httpx.create_ssl_context()
|
|
14
15
|
|
|
15
16
|
UNAUTHORIZED = HTTPException(status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid credentials")
|
|
16
17
|
DEFAULT_SCHEME = APIKeyHeader(name="Authorization")
|
|
@@ -74,7 +75,7 @@ def remote_authorization(
|
|
|
74
75
|
"cookies": request.cookies,
|
|
75
76
|
}
|
|
76
77
|
|
|
77
|
-
async with httpx.AsyncClient() as client:
|
|
78
|
+
async with httpx.AsyncClient(verify=ssl_context) as client:
|
|
78
79
|
try:
|
|
79
80
|
response = await client.post(str(url), json=info, **kwargs)
|
|
80
81
|
except httpx.HTTPError as http_error:
|
|
File without changes
|
|
File without changes
|
{fastapi_ext_pkg-0.4.0 → fastapi_ext_pkg-0.4.1}/fastapi_ext_pkg.egg-info/dependency_links.txt
RENAMED
|
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
|
|
File without changes
|