microsoft-agents-hosting-aiohttp 0.5.0.dev10__tar.gz → 0.5.0.dev17__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.
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/PKG-INFO +9 -4
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/jwt_authorization_middleware.py +3 -2
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents_hosting_aiohttp.egg-info/PKG-INFO +9 -4
- microsoft_agents_hosting_aiohttp-0.5.0.dev17/microsoft_agents_hosting_aiohttp.egg-info/requires.txt +2 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/pyproject.toml +6 -1
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/readme.md +1 -1
- microsoft_agents_hosting_aiohttp-0.5.0.dev10/microsoft_agents_hosting_aiohttp.egg-info/requires.txt +0 -2
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/LICENSE +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/__init__.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/_start_agent_process.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/agent_http_adapter.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/app/__init__.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/app/streaming/__init__.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/app/streaming/citation.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/app/streaming/citation_util.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/app/streaming/streaming_response.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/channel_service_route_table.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents/hosting/aiohttp/cloud_adapter.py +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents_hosting_aiohttp.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents_hosting_aiohttp.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/microsoft_agents_hosting_aiohttp.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/setup.cfg +0 -0
- {microsoft_agents_hosting_aiohttp-0.5.0.dev10 → microsoft_agents_hosting_aiohttp-0.5.0.dev17}/setup.py +0 -0
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-aiohttp
|
|
3
|
-
Version: 0.5.0.
|
|
3
|
+
Version: 0.5.0.dev17
|
|
4
4
|
Summary: Integration library for Microsoft Agents with aiohttp
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/microsoft/Agents
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
9
14
|
Classifier: Operating System :: OS Independent
|
|
10
|
-
Requires-Python: >=3.
|
|
15
|
+
Requires-Python: >=3.10
|
|
11
16
|
Description-Content-Type: text/markdown
|
|
12
17
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: microsoft-agents-hosting-core==0.5.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==0.5.0.dev17
|
|
14
19
|
Requires-Dist: aiohttp>=3.11.11
|
|
15
20
|
Dynamic: license-file
|
|
16
21
|
Dynamic: requires-dist
|
|
@@ -109,7 +114,7 @@ async def on_error(context: TurnContext, error: Exception):
|
|
|
109
114
|
|
|
110
115
|
## Requirements
|
|
111
116
|
|
|
112
|
-
- Python 3.
|
|
117
|
+
- Python 3.10+ (supports 3.10, 3.11, 3.12, 3.13, 3.14)
|
|
113
118
|
- aiohttp 3.11.11+
|
|
114
119
|
- Microsoft Agents hosting core library
|
|
115
120
|
|
|
@@ -13,11 +13,12 @@ async def jwt_authorization_middleware(request: Request, handler):
|
|
|
13
13
|
auth_config: AgentAuthConfiguration = request.app["agent_configuration"]
|
|
14
14
|
token_validator = JwtTokenValidator(auth_config)
|
|
15
15
|
auth_header = request.headers.get("Authorization")
|
|
16
|
+
|
|
16
17
|
if auth_header:
|
|
17
18
|
# Extract the token from the Authorization header
|
|
18
19
|
token = auth_header.split(" ")[1]
|
|
19
20
|
try:
|
|
20
|
-
claims = token_validator.validate_token(token)
|
|
21
|
+
claims = await token_validator.validate_token(token)
|
|
21
22
|
request["claims_identity"] = claims
|
|
22
23
|
except ValueError as e:
|
|
23
24
|
print(f"JWT validation error: {e}")
|
|
@@ -44,7 +45,7 @@ def jwt_authorization_decorator(func):
|
|
|
44
45
|
# Extract the token from the Authorization header
|
|
45
46
|
token = auth_header.split(" ")[1]
|
|
46
47
|
try:
|
|
47
|
-
claims = token_validator.validate_token(token)
|
|
48
|
+
claims = await token_validator.validate_token(token)
|
|
48
49
|
request["claims_identity"] = claims
|
|
49
50
|
except ValueError as e:
|
|
50
51
|
print(f"JWT validation error: {e}")
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-aiohttp
|
|
3
|
-
Version: 0.5.0.
|
|
3
|
+
Version: 0.5.0.dev17
|
|
4
4
|
Summary: Integration library for Microsoft Agents with aiohttp
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/microsoft/Agents
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
9
14
|
Classifier: Operating System :: OS Independent
|
|
10
|
-
Requires-Python: >=3.
|
|
15
|
+
Requires-Python: >=3.10
|
|
11
16
|
Description-Content-Type: text/markdown
|
|
12
17
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: microsoft-agents-hosting-core==0.5.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==0.5.0.dev17
|
|
14
19
|
Requires-Dist: aiohttp>=3.11.11
|
|
15
20
|
Dynamic: license-file
|
|
16
21
|
Dynamic: requires-dist
|
|
@@ -109,7 +114,7 @@ async def on_error(context: TurnContext, error: Exception):
|
|
|
109
114
|
|
|
110
115
|
## Requirements
|
|
111
116
|
|
|
112
|
-
- Python 3.
|
|
117
|
+
- Python 3.10+ (supports 3.10, 3.11, 3.12, 3.13, 3.14)
|
|
113
118
|
- aiohttp 3.11.11+
|
|
114
119
|
- Microsoft Agents hosting core library
|
|
115
120
|
|
|
@@ -10,9 +10,14 @@ readme = {file = "readme.md", content-type = "text/markdown"}
|
|
|
10
10
|
authors = [{name = "Microsoft Corporation"}]
|
|
11
11
|
license = "MIT"
|
|
12
12
|
license-files = ["LICENSE"]
|
|
13
|
-
requires-python = ">=3.
|
|
13
|
+
requires-python = ">=3.10"
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.10",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Programming Language :: Python :: 3.14",
|
|
16
21
|
"Operating System :: OS Independent",
|
|
17
22
|
]
|
|
18
23
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|