quantumapi 0.2.0b1__tar.gz → 0.20.0__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.
- {quantumapi-0.2.0b1/quantumapi.egg-info → quantumapi-0.20.0}/PKG-INFO +1 -1
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/pyproject.toml +1 -1
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/applications.py +15 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0/quantumapi.egg-info}/PKG-INFO +1 -1
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/LICENSE +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/README.md +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/__init__.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/__init__.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/applications.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/async_client.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/base.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/encryption.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/end_users.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/health.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/keys.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/resource_groups.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/roles.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/secrets.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/client/sync_client.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/errors/__init__.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/errors/exceptions.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/__init__.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/encryption.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/end_users.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/health.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/keys.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/resource_groups.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/roles.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/models/secrets.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi/py.typed +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi.egg-info/SOURCES.txt +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi.egg-info/dependency_links.txt +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi.egg-info/requires.txt +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/quantumapi.egg-info/top_level.txt +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/setup.cfg +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/tests/test_exceptions.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/tests/test_models.py +0 -0
- {quantumapi-0.2.0b1 → quantumapi-0.20.0}/tests/test_parity.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quantumapi"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.20.0"
|
|
8
8
|
description = "Official Python SDK for QuantumAPI - Quantum-safe encryption and identity platform"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -42,6 +42,10 @@ class Application(BaseModel):
|
|
|
42
42
|
default_factory=list, alias="postLogoutRedirectUris", description="Post-logout redirect URIs"
|
|
43
43
|
)
|
|
44
44
|
allowed_scopes: List[str] = Field(default_factory=list, alias="allowedScopes", description="Allowed OAuth2 scopes")
|
|
45
|
+
resources: List[str] = Field(
|
|
46
|
+
default_factory=list,
|
|
47
|
+
description="RFC 8707 resource indicators declared on the application",
|
|
48
|
+
)
|
|
45
49
|
custom_domain: Optional[str] = Field(default=None, alias="customDomain", description="Custom domain")
|
|
46
50
|
custom_domain_verified: bool = Field(default=False, alias="customDomainVerified", description="Custom domain verified")
|
|
47
51
|
created_at: datetime = Field(..., alias="createdAt", description="Creation timestamp")
|
|
@@ -84,6 +88,10 @@ class CreateApplicationRequest(BaseModel):
|
|
|
84
88
|
allowed_scopes: Optional[List[str]] = Field(
|
|
85
89
|
default=None, alias="allowedScopes", description="Allowed OAuth2 scopes"
|
|
86
90
|
)
|
|
91
|
+
resources: Optional[List[str]] = Field(
|
|
92
|
+
default=None,
|
|
93
|
+
description="RFC 8707 resource indicators (absolute URIs) the app may request at /connect/authorize",
|
|
94
|
+
)
|
|
87
95
|
|
|
88
96
|
model_config = {"populate_by_name": True}
|
|
89
97
|
|
|
@@ -101,5 +109,12 @@ class UpdateApplicationRequest(BaseModel):
|
|
|
101
109
|
allowed_scopes: Optional[List[str]] = Field(
|
|
102
110
|
default=None, alias="allowedScopes", description="Allowed OAuth2 scopes"
|
|
103
111
|
)
|
|
112
|
+
resources: Optional[List[str]] = Field(
|
|
113
|
+
default=None,
|
|
114
|
+
description=(
|
|
115
|
+
"RFC 8707 resource indicators. None = leave the existing list intact; "
|
|
116
|
+
"[] clears all entries; a populated list replaces the current set."
|
|
117
|
+
),
|
|
118
|
+
)
|
|
104
119
|
|
|
105
120
|
model_config = {"populate_by_name": True}
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|