pypomes-iam 0.5.2__py3-none-any.whl → 0.5.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.

Potentially problematic release.


This version of pypomes-iam might be problematic. Click here for more details.

pypomes_iam/iam_common.py CHANGED
@@ -152,7 +152,7 @@ def _get_public_key(iam_server: IamServer,
152
152
  lifetime: int = registry["pk-lifetime"] or 0
153
153
  registry["pk-expiration"] = now + lifetime
154
154
  elif logger:
155
- msg: str = f"GET failure, status {response.status_code}, reason '{response.reason}'"
155
+ msg: str = f"GET failure, status {response.status_code}, reason {response.reason}"
156
156
  if hasattr(response, "content") and response.content:
157
157
  msg += f", content {response.content}"
158
158
  logger.error(msg=msg)
@@ -104,9 +104,9 @@ def provider_get_token(provider_id: str,
104
104
  enc_bytes: bytes = b64encode(f"{user}:{pwd}".encode())
105
105
  headers_data["Authorization"] = f"Basic {enc_bytes.decode()}"
106
106
  url: str = provider.get("url")
107
- if logger:
108
- logger.debug(msg=f"POST {url}, {json.dumps(obj=body_data,
109
- ensure_ascii=False)}")
107
+ if logger:
108
+ logger.debug(msg=f"POST {url}, {json.dumps(obj=body_data,
109
+ ensure_ascii=False)}")
110
110
  try:
111
111
  # typical return on a token request:
112
112
  # {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypomes_iam
3
- Version: 0.5.2
3
+ Version: 0.5.4
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
@@ -1,12 +1,12 @@
1
1
  pypomes_iam/__init__.py,sha256=KX_QLdqAD-dNUl3G1mDeutxL9e58S9OsMoJlrgM9R28,1027
2
- pypomes_iam/iam_common.py,sha256=q35MemjtgwCH4F2fmgjK_aXecWYGM4IKlvJnLyB6vU4,10366
2
+ pypomes_iam/iam_common.py,sha256=xRMVPIDxbVPoudPDKFCqGCA7Klt9HsZM61dSGfEy7Tw,10364
3
3
  pypomes_iam/iam_pomes.py,sha256=sB2DDCaN5nN6ehZH4HCsWxPM9IbP5IRt42UhIRtn07Q,27436
4
4
  pypomes_iam/iam_services.py,sha256=fdpOc6EmCLcMtkhZU5OX9gYJIA1RNyM3JcoMX0RqwXA,11829
5
5
  pypomes_iam/jusbr_pomes.py,sha256=cuQWB5OTeAHarmUqAGIU4udSEJA1C6W6lOtauWA7gqw,5904
6
6
  pypomes_iam/keycloak_pomes.py,sha256=OvPhfUXpqxll-p6CdRq2j5jp5ST9Z0feXg6TVbqC2cY,6751
7
- pypomes_iam/provider_pomes.py,sha256=zmMqZw8kuJ7aemRZFZSQiMb_J54qIJxyV2NXOFkDkhM,7223
7
+ pypomes_iam/provider_pomes.py,sha256=1Jki3hHBt5SRQB8f9MU7hQ-WApJ5LCuj7QRJFdrALbw,7235
8
8
  pypomes_iam/token_pomes.py,sha256=Bz9pT2oU6jTEr_ZEZEJ3kUjH3TfxRyY1_vR319v6CEo,6692
9
- pypomes_iam-0.5.2.dist-info/METADATA,sha256=XkqULf2x-1cJLJFoPJPCZ8jLGcSRBfxBJfqCEKcX6hw,694
10
- pypomes_iam-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
- pypomes_iam-0.5.2.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
12
- pypomes_iam-0.5.2.dist-info/RECORD,,
9
+ pypomes_iam-0.5.4.dist-info/METADATA,sha256=rMdeh8lld9QGoNKpzFF0Uc-x1OuUYhn3TkDY3Nzk1NQ,694
10
+ pypomes_iam-0.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
+ pypomes_iam-0.5.4.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
12
+ pypomes_iam-0.5.4.dist-info/RECORD,,