pypomes-iam 0.3.7__py3-none-any.whl → 0.3.8__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.
Potentially problematic release.
This version of pypomes-iam might be problematic. Click here for more details.
- pypomes_iam/__init__.py +2 -2
- pypomes_iam/iam_pomes.py +1 -1
- pypomes_iam/jusbr_pomes.py +1 -4
- pypomes_iam/keycloak_pomes.py +1 -4
- {pypomes_iam-0.3.7.dist-info → pypomes_iam-0.3.8.dist-info}/METADATA +1 -1
- pypomes_iam-0.3.8.dist-info/RECORD +12 -0
- pypomes_iam-0.3.7.dist-info/RECORD +0 -12
- {pypomes_iam-0.3.7.dist-info → pypomes_iam-0.3.8.dist-info}/WHEEL +0 -0
- {pypomes_iam-0.3.7.dist-info → pypomes_iam-0.3.8.dist-info}/licenses/LICENSE +0 -0
pypomes_iam/__init__.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from .iam_pomes import (
|
|
2
|
-
IamServer,
|
|
2
|
+
IamServer, logger_register,
|
|
3
3
|
login_callback, token_exchange,
|
|
4
4
|
user_login, user_logout, user_token
|
|
5
5
|
)
|
|
@@ -18,7 +18,7 @@ from .token_pomes import (
|
|
|
18
18
|
|
|
19
19
|
__all__ = [
|
|
20
20
|
# iam_pomes
|
|
21
|
-
"IamServer", "
|
|
21
|
+
"IamServer", "logger_register",
|
|
22
22
|
"login_callback", "token_exchange",
|
|
23
23
|
"user_login", "user_logout", "user_token",
|
|
24
24
|
# jusbr_pomes
|
pypomes_iam/iam_pomes.py
CHANGED
pypomes_iam/jusbr_pomes.py
CHANGED
|
@@ -40,8 +40,7 @@ def jusbr_setup(flask_app: Flask,
|
|
|
40
40
|
token_endpoint: str = JUSBR_ENDPOINT_TOKEN,
|
|
41
41
|
login_endpoint: str = JUSBR_ENDPOINT_LOGIN,
|
|
42
42
|
logout_endpoint: str = JUSBR_ENDPOINT_LOGOUT,
|
|
43
|
-
base_url: str = JUSBR_URL_AUTH_BASE
|
|
44
|
-
logger: Logger = None) -> None:
|
|
43
|
+
base_url: str = JUSBR_URL_AUTH_BASE) -> None:
|
|
45
44
|
"""
|
|
46
45
|
Configure the JusBR IAM.
|
|
47
46
|
|
|
@@ -58,7 +57,6 @@ def jusbr_setup(flask_app: Flask,
|
|
|
58
57
|
:param login_endpoint: endpoint for redirecting user to JusBR's login page
|
|
59
58
|
:param logout_endpoint: endpoint for terminating user access to JusBR
|
|
60
59
|
:param base_url: base URL to request JusBR services
|
|
61
|
-
:param logger: optional logger
|
|
62
60
|
"""
|
|
63
61
|
from .iam_services import service_login, service_logout, service_callback, service_token
|
|
64
62
|
|
|
@@ -75,7 +73,6 @@ def jusbr_setup(flask_app: Flask,
|
|
|
75
73
|
"pk-expiration": sys.maxsize,
|
|
76
74
|
"pk-lifetime": public_key_lifetime,
|
|
77
75
|
"cache": cache,
|
|
78
|
-
"logger": logger,
|
|
79
76
|
"redirect-uri": None
|
|
80
77
|
}
|
|
81
78
|
|
pypomes_iam/keycloak_pomes.py
CHANGED
|
@@ -45,8 +45,7 @@ def keycloak_setup(flask_app: Flask,
|
|
|
45
45
|
login_endpoint: str = KEYCLOAK_ENDPOINT_LOGIN,
|
|
46
46
|
logout_endpoint: str = KEYCLOAK_ENDPOINT_LOGOUT,
|
|
47
47
|
token_endpoint: str = KEYCLOAK_ENDPOINT_TOKEN,
|
|
48
|
-
base_url: str = KEYCLOAK_URL_AUTH_BASE
|
|
49
|
-
logger: Logger = None) -> None:
|
|
48
|
+
base_url: str = KEYCLOAK_URL_AUTH_BASE) -> None:
|
|
50
49
|
"""
|
|
51
50
|
Configure the Keycloak IAM.
|
|
52
51
|
|
|
@@ -65,7 +64,6 @@ def keycloak_setup(flask_app: Flask,
|
|
|
65
64
|
:param login_endpoint: endpoint for redirecting user to Keycloak's login page
|
|
66
65
|
:param logout_endpoint: endpoint for terminating user access to Keycloak
|
|
67
66
|
:param base_url: base URL to request Keycloak services
|
|
68
|
-
:param logger: optional logger
|
|
69
67
|
"""
|
|
70
68
|
from .iam_services import (
|
|
71
69
|
service_login, service_logout, service_callback, service_exchange, service_token
|
|
@@ -84,7 +82,6 @@ def keycloak_setup(flask_app: Flask,
|
|
|
84
82
|
"pk-expiration": sys.maxsize,
|
|
85
83
|
"pk-lifetime": public_key_lifetime,
|
|
86
84
|
"cache": cache,
|
|
87
|
-
"logger": logger,
|
|
88
85
|
"redirect-uri": None
|
|
89
86
|
}
|
|
90
87
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypomes_iam
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.8
|
|
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
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
pypomes_iam/__init__.py,sha256=vl7Frit5Xte3deOSwBSkg462lIhirwU0Rb0QMY3X2pM,965
|
|
2
|
+
pypomes_iam/iam_common.py,sha256=f74FUDcnMM2cgzJg-AF17GwCKwbfoezS8LppwxYwPys,10049
|
|
3
|
+
pypomes_iam/iam_pomes.py,sha256=Qlg78xv4e1WJSX2CMNluZRnHov6lqabeD45-bJ2JZSM,23966
|
|
4
|
+
pypomes_iam/iam_services.py,sha256=xs0y0FUBTDiVu_B_kP900Kp1D77wyphUBxb_-QlD07Y,10445
|
|
5
|
+
pypomes_iam/jusbr_pomes.py,sha256=JQFJVrEzaJZ_uTSDroPgEOxcqmdzz6EZMZmb6jno48s,5716
|
|
6
|
+
pypomes_iam/keycloak_pomes.py,sha256=rZzAtBXgfwTrCs7qf_HsZltS9FzQWZSGCd-ac4eh7vE,6726
|
|
7
|
+
pypomes_iam/provider_pomes.py,sha256=3Rui68hmj8zwY0tnw4aWurz-yQ-niacJFQpi6nWzh-M,6355
|
|
8
|
+
pypomes_iam/token_pomes.py,sha256=1g6PMNNMbmdwLrsvSXvpO8-zdRhso1IFnwAyndNmV4Q,5332
|
|
9
|
+
pypomes_iam-0.3.8.dist-info/METADATA,sha256=qc2_kcS5mEYBQuO-96AQJZz_4ZbMqHYdE08rcNi0IW8,694
|
|
10
|
+
pypomes_iam-0.3.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
11
|
+
pypomes_iam-0.3.8.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
|
|
12
|
+
pypomes_iam-0.3.8.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
pypomes_iam/__init__.py,sha256=H7rUCaUEJBLNJv2rtdmBxwcAB28OItdEPenpv_UEOVw,965
|
|
2
|
-
pypomes_iam/iam_common.py,sha256=f74FUDcnMM2cgzJg-AF17GwCKwbfoezS8LppwxYwPys,10049
|
|
3
|
-
pypomes_iam/iam_pomes.py,sha256=gvDpgff6arB4_Y8AAf6QH2CEWRmdy-kcnQLyD0hx4Y4,23966
|
|
4
|
-
pypomes_iam/iam_services.py,sha256=xs0y0FUBTDiVu_B_kP900Kp1D77wyphUBxb_-QlD07Y,10445
|
|
5
|
-
pypomes_iam/jusbr_pomes.py,sha256=0qbjJ6EGnlx17K-4Lqh5XkfH58y0joVZiD6HykbwpoE,5823
|
|
6
|
-
pypomes_iam/keycloak_pomes.py,sha256=5ZfpncofF20C1IB5ndO31vfrvfa8Ffy7FJxkGoKKoQQ,6836
|
|
7
|
-
pypomes_iam/provider_pomes.py,sha256=3Rui68hmj8zwY0tnw4aWurz-yQ-niacJFQpi6nWzh-M,6355
|
|
8
|
-
pypomes_iam/token_pomes.py,sha256=1g6PMNNMbmdwLrsvSXvpO8-zdRhso1IFnwAyndNmV4Q,5332
|
|
9
|
-
pypomes_iam-0.3.7.dist-info/METADATA,sha256=A97OOR7LyuCK84uBRzkQgwbfyqW6aBDxwaImnHM6iAk,694
|
|
10
|
-
pypomes_iam-0.3.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
11
|
-
pypomes_iam-0.3.7.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
|
|
12
|
-
pypomes_iam-0.3.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|