maleo-foundation 0.2.2__tar.gz → 0.2.3__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.
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/PKG-INFO +1 -1
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/token.py +1 -1
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/general/token.py +1 -1
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation.egg-info/PKG-INFO +1 -1
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/pyproject.toml +1 -1
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/README.md +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/authentication.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/manager.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/encryption/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/encryption/aes.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/encryption/rsa.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/bcrypt.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/hmac.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/sha256.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/key.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/signature.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/constants.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/enums.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/client.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/encryption/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/encryption/aes.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/encryption/rsa.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/general.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/hash.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/key.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/query.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/service.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/signature.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/token.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/extended_types.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/base.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/base.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/secret.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/storage.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/maleo.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/db.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/middleware.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/service.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/middlewares/authentication.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/middlewares/base.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/middlewares/cors.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/responses.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/encryption.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/general.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/hash.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/key.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/parameter.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/result.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/signature.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/token.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/table.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/general/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/general/key.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/general/signature.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/client.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/encryption/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/encryption/aes.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/encryption/rsa.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/general.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/hash/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/hash/bcrypt.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/hash/hmac.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/hash/sha256.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/key.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/service.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/signature.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/parameters/token.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/client/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/client/controllers/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/client/controllers/http.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/client/service.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/encryption/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/encryption/aes.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/encryption/rsa.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/hash.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/key.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/service/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/service/controllers/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/service/controllers/rest.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/service/general.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/service/query.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/signature.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/token.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/types.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/controller.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/exceptions.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/extractor.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/formatter/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/formatter/case.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/credential/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/credential/google.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/json.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/key/__init__.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/key/rsa.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/yaml.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/logging.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/mergers.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/query.py +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation.egg-info/SOURCES.txt +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation.egg-info/dependency_links.txt +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation.egg-info/requires.txt +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation.egg-info/top_level.txt +0 -0
- {maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/setup.cfg +0 -0
@@ -30,7 +30,7 @@ class MaleoFoundationTokenClientService(ClientService):
|
|
30
30
|
description = "Unexpected error occured while trying to import key"
|
31
31
|
other = "Ensure given key is valid"
|
32
32
|
return MaleoFoundationTokenResultsTransfers.Fail(message=message, description=description, other=other)
|
33
|
-
payload = MaleoFoundationTokenGeneralTransfers.EncodePayload.model_validate(parameters.payload.model_dump()).model_dump(mode="json")
|
33
|
+
payload = MaleoFoundationTokenGeneralTransfers.EncodePayload.model_validate(parameters.payload.model_dump()).model_dump(mode="json", exclude_none=True)
|
34
34
|
token = jwt.encode(payload=payload, key=private_key.export_key(), algorithm="RS256")
|
35
35
|
data = MaleoFoundationTokenSchemas.Token(token=token)
|
36
36
|
return MaleoFoundationTokenResultsTransfers.Encode(data=data)
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/general/token.py
RENAMED
@@ -7,7 +7,7 @@ from maleo_foundation.models.schemas.token import MaleoFoundationTokenSchemas
|
|
7
7
|
class MaleoFoundationTokenGeneralTransfers:
|
8
8
|
class BasePayload(BaseModel):
|
9
9
|
iss:BaseTypes.OptionalString = Field(None, description="Token's issuer")
|
10
|
-
sub:BaseTypes.
|
10
|
+
sub:BaseTypes.OptionalString = Field(None, description="Token's subject")
|
11
11
|
sr:str = Field(..., description="System role")
|
12
12
|
u_u:str = Field(..., description="user's username")
|
13
13
|
u_e:str = Field(..., description="user's email")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/__init__.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/encryption/aes.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/encryption/rsa.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/bcrypt.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/hmac.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/hash/sha256.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/client/services/signature.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/encryption/aes.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/encryption/rsa.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/general.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/service.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/expanded_types/signature.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/base.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/secret.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/managers/client/google/storage.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/middlewares/authentication.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/encryption.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/general.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/parameter.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/schemas/signature.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/__init__.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/general/key.py
RENAMED
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
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/hash.py
RENAMED
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/key.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/models/transfers/results/token.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/formatter/__init__.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation/utils/loaders/key/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.2.2 → maleo_foundation-0.2.3}/maleo_foundation.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|