pypomes-iam 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.
Potentially problematic release.
This version of pypomes-iam might be problematic. Click here for more details.
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/PKG-INFO +1 -1
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/pyproject.toml +1 -1
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/iam_common.py +2 -2
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/provider_pomes.py +2 -2
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/.gitignore +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/LICENSE +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/README.md +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/__init__.py +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/iam_pomes.py +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/iam_services.py +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/jusbr_pomes.py +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/keycloak_pomes.py +0 -0
- {pypomes_iam-0.4.0 → pypomes_iam-0.4.1}/src/pypomes_iam/token_pomes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypomes_iam
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: A collection of Python pomes, penyeach (IAM modules)
|
|
5
5
|
Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-IAM
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-IAM/issues
|
|
@@ -5,7 +5,7 @@ from enum import StrEnum
|
|
|
5
5
|
from logging import Logger
|
|
6
6
|
from pypomes_core import TZ_LOCAL, exc_format
|
|
7
7
|
from pypomes_crypto import crypto_jwk_convert
|
|
8
|
-
from threading import
|
|
8
|
+
from threading import RLock
|
|
9
9
|
from typing import Any, Final
|
|
10
10
|
|
|
11
11
|
|
|
@@ -51,7 +51,7 @@ _IAM_SERVERS: Final[dict[IamServer, dict[str, Any]]] = {}
|
|
|
51
51
|
|
|
52
52
|
# the lock protecting the data in '_IAM_SERVER'
|
|
53
53
|
# (because it is 'Final' and set at declaration time, it can be accessed through simple imports)
|
|
54
|
-
_iam_lock: Final[
|
|
54
|
+
_iam_lock: Final[RLock] = RLock()
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def _get_public_key(iam_server: IamServer,
|
|
@@ -4,7 +4,7 @@ from base64 import b64encode
|
|
|
4
4
|
from datetime import datetime
|
|
5
5
|
from logging import Logger
|
|
6
6
|
from pypomes_core import TZ_LOCAL, exc_format
|
|
7
|
-
from threading import
|
|
7
|
+
from threading import RLock
|
|
8
8
|
from typing import Any, Final
|
|
9
9
|
|
|
10
10
|
# structure:
|
|
@@ -24,7 +24,7 @@ _provider_registry: Final[dict[str, dict[str, Any]]] = {}
|
|
|
24
24
|
|
|
25
25
|
# the lock protecting the data in '_provider_registry'
|
|
26
26
|
# (because it is 'Final' and set at declaration time, it can be accessed through simple imports)
|
|
27
|
-
_provider_lock: Final[
|
|
27
|
+
_provider_lock: Final[RLock] = RLock()
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def provider_register(provider_id: str,
|
|
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
|