maleo-foundation 0.1.80__tar.gz → 0.1.82__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.1.80 → maleo_foundation-0.1.82}/PKG-INFO +1 -1
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/authentication.py +6 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/service.py +1 -1
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation.egg-info/PKG-INFO +1 -1
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/pyproject.toml +1 -1
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/README.md +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/manager.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/encryption/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/encryption/aes.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/encryption/rsa.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/bcrypt.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/hmac.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/sha256.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/key.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/signature.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/token.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/constants.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/enums.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/client.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/encryption/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/encryption/aes.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/encryption/rsa.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/general.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/hash.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/key.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/query.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/service.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/signature.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/token.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/extended_types.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/base.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/google/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/google/base.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/google/secret.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/google/storage.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/maleo.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/db.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/middleware.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/middlewares/authentication.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/middlewares/base.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/middlewares/cors.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/responses.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/encryption.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/general.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/hash.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/key.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/parameter.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/result.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/signature.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/token.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/table.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/general/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/general/key.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/general/signature.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/general/token.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/client.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/encryption/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/encryption/aes.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/encryption/rsa.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/general.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/hash/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/hash/bcrypt.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/hash/hmac.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/hash/sha256.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/key.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/service.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/signature.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/parameters/token.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/client/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/client/controllers/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/client/controllers/http.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/client/service.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/encryption/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/encryption/aes.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/encryption/rsa.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/hash.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/key.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/service/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/service/controllers/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/service/controllers/rest.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/service/general.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/service/query.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/signature.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/results/token.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/types.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/controller.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/exceptions.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/extractor.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/formatter/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/formatter/case.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/json.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/key/__init__.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/key/rsa.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/yaml.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/logging.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/mergers.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/query.py +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation.egg-info/SOURCES.txt +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation.egg-info/dependency_links.txt +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation.egg-info/requires.txt +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation.egg-info/top_level.txt +0 -0
- {maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/setup.cfg +0 -0
@@ -7,14 +7,20 @@ from maleo_foundation.types import BaseTypes
|
|
7
7
|
class Credentials(AuthCredentials):
|
8
8
|
def __init__(
|
9
9
|
self,
|
10
|
+
key:BaseTypes.OptionalString = None,
|
10
11
|
token:BaseTypes.OptionalString = None,
|
11
12
|
payload:Optional[MaleoFoundationTokenGeneralTransfers.DecodePayload] = None,
|
12
13
|
scopes:Optional[Sequence[str]] = None
|
13
14
|
) -> None:
|
15
|
+
self._key = key
|
14
16
|
self._token = token
|
15
17
|
self._payload = payload
|
16
18
|
super().__init__(scopes)
|
17
19
|
|
20
|
+
@property
|
21
|
+
def key(self) -> BaseTypes.OptionalString:
|
22
|
+
return self._key
|
23
|
+
|
18
24
|
@property
|
19
25
|
def token(self) -> BaseTypes.OptionalString:
|
20
26
|
return self._token
|
@@ -289,7 +289,7 @@ class ServiceManager:
|
|
289
289
|
|
290
290
|
def create_app(self, router:APIRouter, lifespan:Optional[Lifespan[AppType]] = None) -> FastAPI:
|
291
291
|
self._loggers.application.info("Creating FastAPI application")
|
292
|
-
root_path = "" if self._settings.ENVIRONMENT == "local" else f"/{self._configs.service.key.
|
292
|
+
root_path = "" if self._settings.ENVIRONMENT == "local" else f"/{self._configs.service.key.removeprefix("maleo-")}"
|
293
293
|
self._app = FastAPI(title=self._configs.service.name, lifespan=lifespan, root_path=root_path)
|
294
294
|
self._loggers.application.info("FastAPI application created successfully")
|
295
295
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/bcrypt.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/hmac.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/hash/sha256.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/signature.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/client/services/token.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/general.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/query.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/service.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/signature.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/expanded_types/token.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/base.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/google/base.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/managers/client/maleo.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/middlewares/authentication.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/encryption.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/general.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/parameter.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/result.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/signature.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/schemas/token.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/models/transfers/__init__.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/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
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/formatter/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/formatter/case.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/__init__.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/key/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation/utils/loaders/key/rsa.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.80 → maleo_foundation-0.1.82}/maleo_foundation.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|