kinde-python-sdk 1.2.3__py3-none-any.whl → 1.2.4__py3-none-any.whl
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.
- {kinde_python_sdk-1.2.3.dist-info → kinde_python_sdk-1.2.4.dist-info}/METADATA +7 -7
- {kinde_python_sdk-1.2.3.dist-info → kinde_python_sdk-1.2.4.dist-info}/RECORD +6 -6
- {kinde_python_sdk-1.2.3.dist-info → kinde_python_sdk-1.2.4.dist-info}/WHEEL +1 -1
- kinde_sdk/kinde_api_client.py +6 -0
- {kinde_python_sdk-1.2.3.dist-info → kinde_python_sdk-1.2.4.dist-info}/LICENSE +0 -0
- {kinde_python_sdk-1.2.3.dist-info → kinde_python_sdk-1.2.4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: kinde-python-sdk
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Connect your app to the Kinde platform
|
|
5
5
|
Author-email: Kinde Engineering <engineering@kinde.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/kinde-oss/kinde-python-sdk
|
|
@@ -14,14 +14,14 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
14
14
|
Requires-Python: >=3.8
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: urllib3 ~=2.
|
|
18
|
-
Requires-Dist: python-dateutil ~=2.
|
|
19
|
-
Requires-Dist: Authlib ~=1.
|
|
17
|
+
Requires-Dist: urllib3 ~=2.2.1
|
|
18
|
+
Requires-Dist: python-dateutil ~=2.9.0.post0
|
|
19
|
+
Requires-Dist: Authlib ~=1.3.0
|
|
20
20
|
Requires-Dist: pyjwt ~=2.8.0
|
|
21
21
|
Requires-Dist: requests ~=2.31.0
|
|
22
|
-
Requires-Dist: typing-extensions ~=4.
|
|
23
|
-
Requires-Dist: frozendict ~=2.3
|
|
24
|
-
Requires-Dist: certifi ~=
|
|
22
|
+
Requires-Dist: typing-extensions ~=4.11.0
|
|
23
|
+
Requires-Dist: frozendict ~=2.4.3
|
|
24
|
+
Requires-Dist: certifi ~=2024.2.2
|
|
25
25
|
|
|
26
26
|
# Kinde Python SDK
|
|
27
27
|
|
|
@@ -2,7 +2,7 @@ kinde_sdk/__init__.py,sha256=Gb4nstC-BE7LG51J_mUNVDQNferFXkSqEY0QpvlN_DQ,726
|
|
|
2
2
|
kinde_sdk/api_client.py,sha256=ofpdNwrQxXPFlv5KRisoPOXDta9K_Eg_IbD2hwLjAE8,58495
|
|
3
3
|
kinde_sdk/configuration.py,sha256=oqZGvKEf4kNNURbI1pip2ZVVcDyRTSmmnjXWziH4s80,15765
|
|
4
4
|
kinde_sdk/exceptions.py,sha256=1rFuvc5vj6ZjnT_m1yd_vCyFROfV_4ytcmFrj3rg1jw,4736
|
|
5
|
-
kinde_sdk/kinde_api_client.py,sha256=
|
|
5
|
+
kinde_sdk/kinde_api_client.py,sha256=uvGKNiTrPQ6yAuU7IiXUzr5_GQNCaD-XYPsGmwQ7IT0,11722
|
|
6
6
|
kinde_sdk/rest.py,sha256=HKfSGwlWNMRgB8wrT0u__2K-ZNFSSmAyBBFLH-dCilM,10552
|
|
7
7
|
kinde_sdk/schemas.py,sha256=PC7NB7JscfXesOxq2TyddRb_3N2gqSZGUjsCKP3_7RU,97655
|
|
8
8
|
kinde_sdk/apis/__init__.py,sha256=RTosXhMn41tMsKPUjIy-VK-_efOWzhkKiuGggJ3A6E0,214
|
|
@@ -427,8 +427,8 @@ kinde_sdk/test/test_models/test_user_profile.py,sha256=vafdmz8x2KaqflKc_n0q8cLQX
|
|
|
427
427
|
kinde_sdk/test/test_models/test_user_profile_v2.py,sha256=QltYLnrMdUUM_rw6Fg5NywGyeaWv0aO0PjDGksb716g,847
|
|
428
428
|
kinde_sdk/test/test_models/test_users.py,sha256=IGWziLNMAJbamUqoQxvcQKKd5G1D5Gp1sns9fdhxLt4,526
|
|
429
429
|
kinde_sdk/test/test_models/test_users_response.py,sha256=ZHgkFH98bHU1JLIGh7R7MU4XfEqPY3QnkRiHZ2eLqmg,858
|
|
430
|
-
kinde_python_sdk-1.2.
|
|
431
|
-
kinde_python_sdk-1.2.
|
|
432
|
-
kinde_python_sdk-1.2.
|
|
433
|
-
kinde_python_sdk-1.2.
|
|
434
|
-
kinde_python_sdk-1.2.
|
|
430
|
+
kinde_python_sdk-1.2.4.dist-info/LICENSE,sha256=iT6AIO6NJn_mo0kDD5mpz2zp9GpzH6YdhqOmkCBg-kQ,1385
|
|
431
|
+
kinde_python_sdk-1.2.4.dist-info/METADATA,sha256=yTvIQyMd-YJKX0dzasJVDwDkbjGUN-dPQfiQdVS5YdA,2011
|
|
432
|
+
kinde_python_sdk-1.2.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
433
|
+
kinde_python_sdk-1.2.4.dist-info/top_level.txt,sha256=Tx4AaXvRSme43PIec8zPL_lCo02AWIRBG8JADU0GedQ,10
|
|
434
|
+
kinde_python_sdk-1.2.4.dist-info/RECORD,,
|
kinde_sdk/kinde_api_client.py
CHANGED
|
@@ -12,7 +12,11 @@ from kinde_sdk.exceptions import (
|
|
|
12
12
|
KindeRetrieveException,
|
|
13
13
|
)
|
|
14
14
|
from kinde_sdk import __version__ as kinde_sdk_version
|
|
15
|
+
import logging
|
|
15
16
|
|
|
17
|
+
def debug(msg):
|
|
18
|
+
if logging.getLogger().getEffectiveLevel() == logging.DEBUG:
|
|
19
|
+
logging.debug(msg)
|
|
16
20
|
|
|
17
21
|
class FlagType(Enum):
|
|
18
22
|
s = "string"
|
|
@@ -132,6 +136,8 @@ class KindeApiClient(ApiClient):
|
|
|
132
136
|
)
|
|
133
137
|
self._decode_token_if_needed(token_name)
|
|
134
138
|
value = self.__decoded_tokens[token_name].get(key)
|
|
139
|
+
if value is None:
|
|
140
|
+
debug(f"The claimed value of '{key}' does not exist in your token")
|
|
135
141
|
return {"name": key, "value": value}
|
|
136
142
|
|
|
137
143
|
def get_permission(self, permission: str) -> Dict[str, Any]:
|
|
File without changes
|
|
File without changes
|