pypomes-iam 0.4.7__py3-none-any.whl → 0.4.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/iam_pomes.py CHANGED
@@ -490,7 +490,7 @@ def __validate_and_store(iam_server: IamServer,
490
490
  errors=errors,
491
491
  logger=logger)
492
492
  if public_key:
493
- recipient_attr = registry["recipient_attr"]
493
+ recipient_attr = registry["recipient-attr"]
494
494
  login_id = user_data.pop("login-id", None)
495
495
  claims: dict[str, dict[str, Any]] = token_validate(token=token,
496
496
  issuer=registry["base-url"],
@@ -64,13 +64,14 @@ def jusbr_setup(flask_app: Flask,
64
64
  cache["users"] = {}
65
65
  with _iam_lock:
66
66
  _IAM_SERVERS[IamServer.IAM_JUSRBR] = {
67
+ "base-url": base_url,
67
68
  "client-id": client_id,
68
69
  "client-secret": client_secret,
69
70
  "client-timeout": client_timeout,
70
- "recipient-attr": recipient_attribute,
71
- "base-url": base_url,
72
- "pk-expiration": 0,
71
+ "public-key": None,
73
72
  "pk-lifetime": public_key_lifetime,
73
+ "pk-expiration": 0,
74
+ "recipient-attr": recipient_attribute,
74
75
  "cache": cache
75
76
  }
76
77
 
@@ -73,13 +73,14 @@ def keycloak_setup(flask_app: Flask,
73
73
  cache["users"] = {}
74
74
  with _iam_lock:
75
75
  _IAM_SERVERS[IamServer.IAM_KEYCLOAK] = {
76
+ "base-url": f"{base_url}/realms/{realm}",
76
77
  "client-id": client_id,
77
78
  "client-secret": client_secret,
78
79
  "client-timeout": client_timeout,
79
- "recipient-attr": recipient_attribute,
80
- "base-url": f"{base_url}/realms/{realm}",
81
- "pk-expiration": 0,
80
+ "public-key": None,
82
81
  "pk-lifetime": public_key_lifetime,
82
+ "pk-expiration": 0,
83
+ "recipient-attr": recipient_attribute,
83
84
  "cache": cache
84
85
  }
85
86
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypomes_iam
3
- Version: 0.4.7
3
+ Version: 0.4.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=KX_QLdqAD-dNUl3G1mDeutxL9e58S9OsMoJlrgM9R28,1027
2
+ pypomes_iam/iam_common.py,sha256=duAi5kUpJZTm_66DcamdARLIIhfTvFZLuLcNd4QPel8,9323
3
+ pypomes_iam/iam_pomes.py,sha256=aokRTOfor67K5fXfe3aa7n8JWJePjIOTQjhnFPRCu2Q,24240
4
+ pypomes_iam/iam_services.py,sha256=lNJUwJHGGdcTKtbSzdGH5FeD9yjvXGYjNHApuzyXgxc,11651
5
+ pypomes_iam/jusbr_pomes.py,sha256=hqdyRgg44mppe9B9VpxSM21V0V2kjWTO8pTx6HN0omo,5734
6
+ pypomes_iam/keycloak_pomes.py,sha256=OvPhfUXpqxll-p6CdRq2j5jp5ST9Z0feXg6TVbqC2cY,6751
7
+ pypomes_iam/provider_pomes.py,sha256=vfVaLGYCKSAjoB58CTw4hnUQHriMONHql_5hxjCEeHE,6358
8
+ pypomes_iam/token_pomes.py,sha256=1g6PMNNMbmdwLrsvSXvpO8-zdRhso1IFnwAyndNmV4Q,5332
9
+ pypomes_iam-0.4.8.dist-info/METADATA,sha256=D6ahNGQwGsDshhmX5csLi03iIz_HRjTh_7UL0090K9g,694
10
+ pypomes_iam-0.4.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
+ pypomes_iam-0.4.8.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
12
+ pypomes_iam-0.4.8.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- pypomes_iam/__init__.py,sha256=KX_QLdqAD-dNUl3G1mDeutxL9e58S9OsMoJlrgM9R28,1027
2
- pypomes_iam/iam_common.py,sha256=duAi5kUpJZTm_66DcamdARLIIhfTvFZLuLcNd4QPel8,9323
3
- pypomes_iam/iam_pomes.py,sha256=JkvdDZbkcg-xfwcYeUHpvVfpaLcd1pHnCfaVY2NlUyo,24240
4
- pypomes_iam/iam_services.py,sha256=lNJUwJHGGdcTKtbSzdGH5FeD9yjvXGYjNHApuzyXgxc,11651
5
- pypomes_iam/jusbr_pomes.py,sha256=_BxfQdv9W9lfZr5Nvd-tvSrQCDjCg9eHf07RWwtGNWc,5701
6
- pypomes_iam/keycloak_pomes.py,sha256=2SvE9Zgsqif_TSp_oJXCBGzSp4DhlLZPlAy_GX50j_g,6718
7
- pypomes_iam/provider_pomes.py,sha256=vfVaLGYCKSAjoB58CTw4hnUQHriMONHql_5hxjCEeHE,6358
8
- pypomes_iam/token_pomes.py,sha256=1g6PMNNMbmdwLrsvSXvpO8-zdRhso1IFnwAyndNmV4Q,5332
9
- pypomes_iam-0.4.7.dist-info/METADATA,sha256=cVt4hzMGDSqU-pPt1rKzzkkbamOeMAHjoryaKmmrUWM,694
10
- pypomes_iam-0.4.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
- pypomes_iam-0.4.7.dist-info/licenses/LICENSE,sha256=YvUELgV8qvXlaYsy9hXG5EW3Bmsrkw-OJmmILZnonAc,1086
12
- pypomes_iam-0.4.7.dist-info/RECORD,,