Loading opencapif_sdk/capif_provider_connector.py +5 −2 Original line number Diff line number Diff line Loading @@ -463,13 +463,16 @@ class capif_provider_connector: for profile, aef_id in zip(data.get("aefProfiles", []), AEFs_list): profile["aefId"] = aef_id for versions in profile["versions"]: for custom in versions["custOperations"]: check = True revoke = True for custom in versions["custOperations"]: if custom["custOpName"] == "check-authentication": check = False if custom["custOpName"] == "revoke-authentication": revoke = False # Si ambas condiciones ya son falsas, salir del bucle if not check and not revoke: break # If 'check-authentication' custom operation doesn't exist, add it if check: versions["custOperations"].append({ Loading pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "opencapif_sdk" version = "0.1.11" version = "0.1.12" authors = [ { name="JorgeEcheva", email="jorge.echevarriauribarri.practicas@telefonica.com" }, { name="dgs-cgm", email="daniel.garciasanchez@telefonica.com" } Loading setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -5,5 +5,5 @@ from setuptools import setup, find_packages setup( name='opencapif_sdk', packages=find_packages(include=["opencapif_sdk"]), version="0.1.11", version="0.1.12", ) No newline at end of file Loading
opencapif_sdk/capif_provider_connector.py +5 −2 Original line number Diff line number Diff line Loading @@ -463,13 +463,16 @@ class capif_provider_connector: for profile, aef_id in zip(data.get("aefProfiles", []), AEFs_list): profile["aefId"] = aef_id for versions in profile["versions"]: for custom in versions["custOperations"]: check = True revoke = True for custom in versions["custOperations"]: if custom["custOpName"] == "check-authentication": check = False if custom["custOpName"] == "revoke-authentication": revoke = False # Si ambas condiciones ya son falsas, salir del bucle if not check and not revoke: break # If 'check-authentication' custom operation doesn't exist, add it if check: versions["custOperations"].append({ Loading
pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "opencapif_sdk" version = "0.1.11" version = "0.1.12" authors = [ { name="JorgeEcheva", email="jorge.echevarriauribarri.practicas@telefonica.com" }, { name="dgs-cgm", email="daniel.garciasanchez@telefonica.com" } Loading
setup.py +1 −1 Original line number Diff line number Diff line Loading @@ -5,5 +5,5 @@ from setuptools import setup, find_packages setup( name='opencapif_sdk', packages=find_packages(include=["opencapif_sdk"]), version="0.1.11", version="0.1.12", ) No newline at end of file