usso 0.15.0__py3-none-any.whl → 0.16.0__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.
- usso/api.py +1 -1
- usso/core.py +3 -1
- {usso-0.15.0.dist-info → usso-0.16.0.dist-info}/METADATA +1 -1
- {usso-0.15.0.dist-info → usso-0.16.0.dist-info}/RECORD +8 -8
- {usso-0.15.0.dist-info → usso-0.16.0.dist-info}/LICENSE.txt +0 -0
- {usso-0.15.0.dist-info → usso-0.16.0.dist-info}/WHEEL +0 -0
- {usso-0.15.0.dist-info → usso-0.16.0.dist-info}/entry_points.txt +0 -0
- {usso-0.15.0.dist-info → usso-0.16.0.dist-info}/top_level.txt +0 -0
usso/api.py
CHANGED
usso/core.py
CHANGED
@@ -41,7 +41,9 @@ class UserData(BaseModel):
|
|
41
41
|
|
42
42
|
|
43
43
|
class Usso(metaclass=Singleton):
|
44
|
-
def __init__(self, jwks_url: str):
|
44
|
+
def __init__(self, jwks_url: str|None = None):
|
45
|
+
if jwks_url is None:
|
46
|
+
jwks_url = os.getenv("USSO_JWKS_URL")
|
45
47
|
self.jwks_url = jwks_url
|
46
48
|
|
47
49
|
@lru_cache
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: usso
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.16.0
|
4
4
|
Summary: A plug-and-play client for integrating universal single sign-on (SSO) with Python frameworks, enabling secure and seamless authentication across microservices.
|
5
5
|
Author-email: Mahdi Kiani <mahdikiany@gmail.com>
|
6
6
|
Maintainer-email: Mahdi Kiani <mahdikiany@gmail.com>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
usso/__init__.py,sha256=fluJnb9X2ECUnUA0lNNR2xHdn3uSI2RVErQiFlqbOiU,49
|
2
|
-
usso/api.py,sha256=
|
2
|
+
usso/api.py,sha256=RL13XwcnmbH4LVbjojwiwp8L9eioL_GKOkCyLaU0b7w,3263
|
3
3
|
usso/b64tools.py,sha256=6YCBx2lLaYFdk36f064VNZ1RejJTHtmgxqq0eT1sCwQ,518
|
4
|
-
usso/core.py,sha256=
|
4
|
+
usso/core.py,sha256=tkwvnDmDnB6SS8QqSv_eC1I_wwR7ld5BXeahldAa5EA,3023
|
5
5
|
usso/exceptions.py,sha256=hawOAuVbvQtjgRfwp1KFZ4SmV7fh720y5Gom9JVA8W8,504
|
6
6
|
usso/package_data.dat,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
usso/fastapi/__init__.py,sha256=WqTIF9BNKlq5f0H8Vk-fcQawPWZMclwuD8QwO4agW7I,69
|
8
8
|
usso/fastapi/integration.py,sha256=rkR9uZbe-DEBMgHYtIaP3QUhL6hWHM6edFhBDJQWuz0,1779
|
9
|
-
usso-0.
|
10
|
-
usso-0.
|
11
|
-
usso-0.
|
12
|
-
usso-0.
|
13
|
-
usso-0.
|
14
|
-
usso-0.
|
9
|
+
usso-0.16.0.dist-info/LICENSE.txt,sha256=ceC9ZJOV9H6CtQDcYmHOS46NA3dHJ_WD4J9blH513pc,1081
|
10
|
+
usso-0.16.0.dist-info/METADATA,sha256=zKyEYZR741xiYumQ5VCZTJQiKCv8b7cBmoSmpgnaVpo,4334
|
11
|
+
usso-0.16.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
12
|
+
usso-0.16.0.dist-info/entry_points.txt,sha256=4Zgpm5ELaAWPf0jPGJFz1_X69H7un8ycT3WdGoJ0Vvk,35
|
13
|
+
usso-0.16.0.dist-info/top_level.txt,sha256=g9Jf6h1Oyidh0vPiFni7UHInTJjSvu6cUalpLTIvthg,5
|
14
|
+
usso-0.16.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|