Encryptors 2.60__tar.gz → 2.61__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.
- {encryptors-2.60 → encryptors-2.61}/PKG-INFO +1 -1
- {encryptors-2.60 → encryptors-2.61}/setup.py +1 -1
- {encryptors-2.60 → encryptors-2.61}/src/Encryptors.egg-info/PKG-INFO +1 -1
- {encryptors-2.60 → encryptors-2.61}/src/Encryptors.egg-info/SOURCES.txt +1 -1
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Decorators/SecureResolver.py +1 -1
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Http/APIClient.py +6 -2
- {encryptors-2.60 → encryptors-2.61}/README.md +0 -0
- {encryptors-2.60 → encryptors-2.61}/setup.cfg +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Encryptors.egg-info/dependency_links.txt +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Encryptors.egg-info/entry_points.txt +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Encryptors.egg-info/requires.txt +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Encryptors.egg-info/top_level.txt +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Cache/Redis.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Cache/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Cli/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Constants/Constant.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Constants/Message.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Constants/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Context/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Database/BaseRepository.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Database/Connection.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Database/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Decorators/Grpc.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Decorators/Retry.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Decorators/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/Aes.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/Argon2.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/Bcrypt.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/Jwt.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/Rsa.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/Sha512.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Encryptor/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/AuditType.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/ErrorSource.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/FileType.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/GrahpqlOperation.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/Profile.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/ResultType.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/StatusCode.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Enums/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Exception/ControlledException.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Exception/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/AuditHelper.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/AuditQueue.py +0 -0
- /encryptors-2.60/src/Osdental/Helpers/_AuthTokenProcessor.py → /encryptors-2.61/src/Osdental/Helpers/AuthTokenProcessor.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/AzureClassifier.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/GrpcConnection.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/JwtTokenHelper.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/Resilience.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/ResponseDecryptor.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Helpers/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Http/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Messaging/AzureServiceBus.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Messaging/Kafka.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Messaging/RabbitMQ.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Messaging/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/ApiResponse.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/AuditContext.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/Graphql.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/Notification.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/Response.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/Token.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/TokenClaims.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Models/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Secrets/AzureKeyVaultProvider.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Secrets/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Services/JwtAuthTokenService.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Services/ServiceBusAuditEmitter.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Services/WebsocketClient.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Services/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Storage/AzureBlobStorage.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Storage/S3Storage.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Storage/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/CaseConverter.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/CodeGenerator.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/DataNormalizer.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/DataUtils.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/DateUtils.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/FileMetaData.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/HashValidator.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/Mapper.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/PasswordGenerator.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/QueryGenerator.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/RsaUtils.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/TextProcessor.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/Utils/__init__.py +0 -0
- {encryptors-2.60 → encryptors-2.61}/src/Osdental/__init__.py +0 -0
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
# ANDERSON REVISAR EL CACHE LOCAL DEL KEYVAULT PARA VALIDAR SI FUNCIONA
|
|
3
3
|
setup(
|
|
4
4
|
name="Encryptors",
|
|
5
|
-
version="2.
|
|
5
|
+
version="2.61",
|
|
6
6
|
author="OSDental LLC",
|
|
7
7
|
author_email="support@osdental.ai",
|
|
8
8
|
description="End-to-end algorithm library",
|
|
@@ -40,12 +40,12 @@ src/Osdental/Exception/ControlledException.py
|
|
|
40
40
|
src/Osdental/Exception/__init__.py
|
|
41
41
|
src/Osdental/Helpers/AuditHelper.py
|
|
42
42
|
src/Osdental/Helpers/AuditQueue.py
|
|
43
|
+
src/Osdental/Helpers/AuthTokenProcessor.py
|
|
43
44
|
src/Osdental/Helpers/AzureClassifier.py
|
|
44
45
|
src/Osdental/Helpers/GrpcConnection.py
|
|
45
46
|
src/Osdental/Helpers/JwtTokenHelper.py
|
|
46
47
|
src/Osdental/Helpers/Resilience.py
|
|
47
48
|
src/Osdental/Helpers/ResponseDecryptor.py
|
|
48
|
-
src/Osdental/Helpers/_AuthTokenProcessor.py
|
|
49
49
|
src/Osdental/Helpers/__init__.py
|
|
50
50
|
src/Osdental/Http/APIClient.py
|
|
51
51
|
src/Osdental/Http/__init__.py
|
|
@@ -11,7 +11,7 @@ from Osdental.Exception.ControlledException import (
|
|
|
11
11
|
OSDException, AccessDeniedException
|
|
12
12
|
)
|
|
13
13
|
from Osdental.Services import IAuthTokenService
|
|
14
|
-
from Osdental.Helpers.
|
|
14
|
+
from Osdental.Helpers.AuthTokenProcessor import (
|
|
15
15
|
extract_bearer_token, build_auth_token, decrypt_and_parse_payload
|
|
16
16
|
)
|
|
17
17
|
from Osdental.Enums.StatusCode import StatusCode
|
|
@@ -141,7 +141,9 @@ class APIClient:
|
|
|
141
141
|
|
|
142
142
|
data = response.json()
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
await self._audit_emit.emit(
|
|
145
|
+
_build_success_graphql_payload(audit_ctx, data)
|
|
146
|
+
)
|
|
145
147
|
|
|
146
148
|
if "errors" in data:
|
|
147
149
|
|
|
@@ -150,7 +152,9 @@ class APIClient:
|
|
|
150
152
|
f"GraphQL error: {errors}"
|
|
151
153
|
)
|
|
152
154
|
|
|
153
|
-
|
|
155
|
+
await self._audit_emit.emit(
|
|
156
|
+
_build_error_graphql_payload(audit_ctx, errors)
|
|
157
|
+
)
|
|
154
158
|
raise HttpClientException(
|
|
155
159
|
message="GraphQL execution failed",
|
|
156
160
|
error=str(data["errors"])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|