shieldapi 1.1.0__tar.gz → 1.1.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.
Files changed (22) hide show
  1. {shieldapi-1.1.0/shieldapi.egg-info → shieldapi-1.1.1}/PKG-INFO +1 -1
  2. {shieldapi-1.1.0 → shieldapi-1.1.1}/setup.cfg +1 -1
  3. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi/keycloak_utils.py +1 -1
  4. {shieldapi-1.1.0 → shieldapi-1.1.1/shieldapi.egg-info}/PKG-INFO +1 -1
  5. {shieldapi-1.1.0 → shieldapi-1.1.1}/LICENSE +0 -0
  6. {shieldapi-1.1.0 → shieldapi-1.1.1}/README.md +0 -0
  7. {shieldapi-1.1.0 → shieldapi-1.1.1}/pyproject.toml +0 -0
  8. {shieldapi-1.1.0 → shieldapi-1.1.1}/setup.py +0 -0
  9. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi/__init__.py +0 -0
  10. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi/frameworks/__init__.py +0 -0
  11. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi/frameworks/fastapi.py +0 -0
  12. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi/frameworks/flask.py +0 -0
  13. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi.egg-info/SOURCES.txt +0 -0
  14. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi.egg-info/dependency_links.txt +0 -0
  15. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi.egg-info/requires.txt +0 -0
  16. {shieldapi-1.1.0 → shieldapi-1.1.1}/shieldapi.egg-info/top_level.txt +0 -0
  17. {shieldapi-1.1.0 → shieldapi-1.1.1}/tests/__init__.py +0 -0
  18. {shieldapi-1.1.0 → shieldapi-1.1.1}/tests/conftest.py +0 -0
  19. {shieldapi-1.1.0 → shieldapi-1.1.1}/tests/mock.py +0 -0
  20. {shieldapi-1.1.0 → shieldapi-1.1.1}/tests/test_fastapi.py +0 -0
  21. {shieldapi-1.1.0 → shieldapi-1.1.1}/tests/test_flask.py +0 -0
  22. {shieldapi-1.1.0 → shieldapi-1.1.1}/tests/test_keycloak_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: shieldapi
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: A package for endpoint protection of APIs using Keycloak
5
5
  Author: sintef, Fraunhofer IWM
6
6
  Author-email: yoav.nahshon@iwm.fraunhofer.de
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = shieldapi
3
- version = v1.1.0
3
+ version = v1.1.1
4
4
  author = sintef, Fraunhofer IWM
5
5
  author_email = yoav.nahshon@iwm.fraunhofer.de
6
6
  description = A package for endpoint protection of APIs using Keycloak
@@ -215,7 +215,7 @@ def _check_active_token(token_info) -> bool:
215
215
  Returns:
216
216
  bool: Whether the token is valid
217
217
  """
218
- return bool(token_info.json()["active"])
218
+ return bool(token_info["active"])
219
219
 
220
220
 
221
221
  def check_useraccount_access(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: shieldapi
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: A package for endpoint protection of APIs using Keycloak
5
5
  Author: sintef, Fraunhofer IWM
6
6
  Author-email: yoav.nahshon@iwm.fraunhofer.de
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes