tigrbl_auth 0.3.2.dev7__tar.gz → 0.3.2.dev8__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.
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/PKG-INFO +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/pyproject.toml +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/adapters/auth_context.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/adapters/local_adapter.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/adapters/remote_adapter.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/app.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/backends.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/crypto.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/db.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/fastapi_deps.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/jwtoken.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/oidc_discovery.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/oidc_id_token.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/oidc_userinfo.py +2 -2
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/__init__.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/api_key.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/auth_code.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/auth_session.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/client.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/device_code.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/pushed_authorization_request.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/revoked_token.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/service.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/service_key.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/tenant.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/orm/user.py +2 -2
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc6749_token.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc6750.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7009.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7515.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7516.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7662_introspection.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8037.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8414.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8628.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8693.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8932.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc9101.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc9396.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc9449_dpop.py +2 -2
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/auth_flows.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/authz/__init__.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/authz/oidc.py +14 -9
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/schemas.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/shared.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/surface.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/runtime_cfg.py +1 -1
- {tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/tigrbl.py +1 -1
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/LICENSE +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/README.md +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/__init__.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/adapters/__init__.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/errors.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/principal_ctx.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/__init__.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc6749.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7517.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7518.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7519.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7520.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7521.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7523.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7591.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7592.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7636_pkce.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7638.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7662.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7800.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc7952.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8176.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8252.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8291.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8414_metadata.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8523.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8705.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8707.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8725.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc8812.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc9068.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc9126.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/rfc/rfc9207.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/routers/__init__.py +0 -0
- {tigrbl_auth-0.3.2.dev7 → tigrbl_auth-0.3.2.dev8}/tigrbl_auth/typing.py +0 -0
- {tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/__init__.py +0 -0
- {tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/fastapi.py +0 -0
- {tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/pydantic.py +0 -0
- {tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/sqlalchemy.py +0 -0
|
@@ -14,7 +14,7 @@ Usage
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
|
-
from tigrbl_auth.
|
|
17
|
+
from tigrbl_auth.vendor import AuthNProvider, Request
|
|
18
18
|
from ..fastapi_deps import get_principal
|
|
19
19
|
from ..principal_ctx import principal_var # noqa: F401 # ensure ContextVar is initialised
|
|
20
20
|
from .auth_context import set_auth_context
|
|
@@ -26,7 +26,7 @@ from typing import Iterable, Optional
|
|
|
26
26
|
|
|
27
27
|
from typing import TYPE_CHECKING
|
|
28
28
|
|
|
29
|
-
from tigrbl_auth.
|
|
29
|
+
from tigrbl_auth.vendor import Select, or_, select, AsyncSession
|
|
30
30
|
|
|
31
31
|
from .crypto import verify_pw
|
|
32
32
|
from .typing import Principal
|
|
@@ -14,7 +14,7 @@ from functools import lru_cache
|
|
|
14
14
|
from typing import Tuple
|
|
15
15
|
|
|
16
16
|
import bcrypt
|
|
17
|
-
from .
|
|
17
|
+
from .vendor import FileKeyProvider, ExportPolicy, KeyAlg, KeyClass, KeySpec, KeyUse
|
|
18
18
|
|
|
19
19
|
# ---------------------------------------------------------------------
|
|
20
20
|
# Password hashing helpers
|
|
@@ -11,7 +11,7 @@ import json
|
|
|
11
11
|
from functools import lru_cache
|
|
12
12
|
from typing import Any
|
|
13
13
|
|
|
14
|
-
from tigrbl_auth.
|
|
14
|
+
from tigrbl_auth.vendor import TigrblRouter, TigrblApp
|
|
15
15
|
|
|
16
16
|
from .rfc.rfc8414_metadata import ISSUER, JWKS_PATH
|
|
17
17
|
from .runtime_cfg import settings
|
|
@@ -13,7 +13,7 @@ from __future__ import annotations
|
|
|
13
13
|
|
|
14
14
|
import inspect
|
|
15
15
|
|
|
16
|
-
from tigrbl_auth.
|
|
16
|
+
from tigrbl_auth.vendor import (
|
|
17
17
|
TigrblRouter,
|
|
18
18
|
TigrblApp,
|
|
19
19
|
HTTPException,
|
|
@@ -26,7 +26,7 @@ from .fastapi_deps import get_current_principal
|
|
|
26
26
|
from .jwtoken import JWTCoder, InvalidTokenError, _svc
|
|
27
27
|
from .orm import User
|
|
28
28
|
from .rfc.rfc6750 import extract_bearer_token
|
|
29
|
-
from .
|
|
29
|
+
from .vendor import JWAAlg
|
|
30
30
|
|
|
31
31
|
api = TigrblRouter()
|
|
32
32
|
router = api
|
|
@@ -5,7 +5,7 @@ from __future__ import annotations
|
|
|
5
5
|
import uuid
|
|
6
6
|
from typing import TYPE_CHECKING
|
|
7
7
|
|
|
8
|
-
from tigrbl_auth.
|
|
8
|
+
from tigrbl_auth.vendor import (
|
|
9
9
|
UserBase,
|
|
10
10
|
hook_ctx,
|
|
11
11
|
op_ctx,
|
|
@@ -111,7 +111,7 @@ class User(UserBase):
|
|
|
111
111
|
from ..routers.shared import _require_tls
|
|
112
112
|
from .auth_session import AuthSession
|
|
113
113
|
from .tenant import Tenant
|
|
114
|
-
from tigrbl_auth.
|
|
114
|
+
from tigrbl_auth.vendor import IntegrityError
|
|
115
115
|
|
|
116
116
|
request = ctx.get("request")
|
|
117
117
|
_require_tls(request)
|
|
@@ -13,7 +13,7 @@ from urllib.parse import parse_qs
|
|
|
13
13
|
|
|
14
14
|
from typing import Final, Set
|
|
15
15
|
|
|
16
|
-
from tigrbl_auth.
|
|
16
|
+
from tigrbl_auth.vendor import TigrblRouter, TigrblApp, HTTPException, Request, status
|
|
17
17
|
|
|
18
18
|
from ..runtime_cfg import settings
|
|
19
19
|
|
|
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from urllib.parse import parse_qs
|
|
4
4
|
|
|
5
|
-
from tigrbl_auth.
|
|
5
|
+
from tigrbl_auth.vendor import TigrblRouter, HTTPException, Request, status
|
|
6
6
|
|
|
7
7
|
from ..runtime_cfg import settings
|
|
8
8
|
from ..routers.schemas import IntrospectOut
|
|
@@ -5,7 +5,7 @@ from __future__ import annotations
|
|
|
5
5
|
import asyncio
|
|
6
6
|
from typing import Any, Awaitable
|
|
7
7
|
|
|
8
|
-
from ..
|
|
8
|
+
from ..vendor import Ed25519EnvelopeSigner
|
|
9
9
|
from ..runtime_cfg import settings
|
|
10
10
|
|
|
11
11
|
try: # pragma: no cover - optional dependency
|
|
@@ -12,7 +12,7 @@ from __future__ import annotations
|
|
|
12
12
|
|
|
13
13
|
from typing import Final
|
|
14
14
|
|
|
15
|
-
from tigrbl_auth.
|
|
15
|
+
from tigrbl_auth.vendor import TigrblRouter, TigrblApp, HTTPException, status
|
|
16
16
|
|
|
17
17
|
from ..runtime_cfg import settings
|
|
18
18
|
from ..oidc_discovery import (
|
|
@@ -15,7 +15,7 @@ import secrets
|
|
|
15
15
|
import string
|
|
16
16
|
from typing import Final, Literal, TYPE_CHECKING
|
|
17
17
|
|
|
18
|
-
from tigrbl_auth.
|
|
18
|
+
from tigrbl_auth.vendor import BaseModel, hook_ctx
|
|
19
19
|
from typing import Any, Mapping
|
|
20
20
|
|
|
21
21
|
from ..runtime_cfg import settings
|
|
@@ -14,7 +14,7 @@ from __future__ import annotations
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
from typing import Any, Dict, List
|
|
17
|
-
from tigrbl_auth.
|
|
17
|
+
from tigrbl_auth.vendor import TigrblRouter, HTTPException, status
|
|
18
18
|
|
|
19
19
|
from ..runtime_cfg import settings
|
|
20
20
|
from .rfc8414_metadata import ISSUER, JWKS_PATH
|
|
@@ -11,7 +11,7 @@ import warnings
|
|
|
11
11
|
from cryptography.hazmat.primitives.serialization import load_pem_public_key
|
|
12
12
|
from cryptography.hazmat.primitives import serialization
|
|
13
13
|
from swarmauri_signing_dpop import DpopSigner
|
|
14
|
-
from ..
|
|
14
|
+
from ..vendor import JWAAlg
|
|
15
15
|
|
|
16
16
|
from ..runtime_cfg import settings
|
|
17
17
|
|
|
@@ -57,7 +57,7 @@ def makeProof(
|
|
|
57
57
|
"""Create a DPoP proof for *method* and *url* using *keyref*.
|
|
58
58
|
|
|
59
59
|
``keyref`` is the :class:`~swarmauri_core.crypto.types.KeyRef` returned by a
|
|
60
|
-
Swarmauri key provider such as :class:`~tigrbl_auth.
|
|
60
|
+
Swarmauri key provider such as :class:`~tigrbl_auth.vendor.LocalKeyProvider` or
|
|
61
61
|
``InMemoryKeyProvider``. The private key material from the provider is
|
|
62
62
|
passed to :class:`~swarmauri_signing_dpop.DpopSigner` for signing, avoiding
|
|
63
63
|
direct usage of ``cryptography`` within this module.
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
import secrets
|
|
5
5
|
|
|
6
6
|
from tigrbl.security.dependencies import Depends as TigrblDepends
|
|
7
|
-
from tigrbl_auth.
|
|
7
|
+
from tigrbl_auth.vendor import AsyncSession, HTTPException, JSONResponse, Request
|
|
8
8
|
from ..db import get_db
|
|
9
9
|
from ..orm import AuthSession, User
|
|
10
10
|
from ..routers.schemas import CredsIn, TokenPair
|
|
@@ -7,7 +7,7 @@ from uuid import UUID, uuid4
|
|
|
7
7
|
from urllib.parse import urlencode
|
|
8
8
|
|
|
9
9
|
from tigrbl.security.dependencies import Depends as TigrblDepends
|
|
10
|
-
from tigrbl_auth.
|
|
10
|
+
from tigrbl_auth.vendor import (
|
|
11
11
|
HTTPException,
|
|
12
12
|
Request,
|
|
13
13
|
status,
|
|
@@ -61,15 +61,20 @@ async def authorize(
|
|
|
61
61
|
prompt = prompt or request.query_params.get("prompt")
|
|
62
62
|
login_hint = login_hint or request.query_params.get("login_hint")
|
|
63
63
|
claims = claims or request.query_params.get("claims")
|
|
64
|
-
|
|
64
|
+
max_age_raw = max_age
|
|
65
|
+
if max_age_raw is None:
|
|
65
66
|
max_age_raw = request.query_params.get("max_age")
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
if max_age_raw is not None:
|
|
68
|
+
try:
|
|
69
|
+
max_age = int(max_age_raw)
|
|
70
|
+
except (TypeError, ValueError) as exc:
|
|
71
|
+
raise HTTPException(
|
|
72
|
+
status.HTTP_400_BAD_REQUEST, {"error": "invalid_request"}
|
|
73
|
+
) from exc
|
|
74
|
+
if max_age < 0:
|
|
75
|
+
raise HTTPException(
|
|
76
|
+
status.HTTP_400_BAD_REQUEST, {"error": "invalid_request"}
|
|
77
|
+
)
|
|
73
78
|
rts = set(response_type.split())
|
|
74
79
|
allowed = {"code", "token", "id_token"}
|
|
75
80
|
if not rts or not rts.issubset(allowed):
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import os
|
|
4
4
|
from dotenv import load_dotenv
|
|
5
5
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
6
|
-
from tigrbl_auth.
|
|
6
|
+
from tigrbl_auth.vendor import Field
|
|
7
7
|
from typing import Optional
|
|
8
8
|
|
|
9
9
|
# ─── Load environment variables from a .env file (if present) ─────────────────────
|
{tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/tigrbl.py
RENAMED
|
@@ -2,7 +2,7 @@ from tigrbl import TigrblApp, TigrblRouter, op_ctx, hook_ctx, engine_ctx
|
|
|
2
2
|
from tigrbl.engine import HybridSession as AsyncSession, engine as build_engine
|
|
3
3
|
from tigrbl.config.constants import TIGRBL_AUTH_CONTEXT_ATTR
|
|
4
4
|
from tigrbl.types.authn_abc import AuthNProvider
|
|
5
|
-
from tigrbl.
|
|
5
|
+
from tigrbl._spec.storage_spec import ForeignKeySpec
|
|
6
6
|
from tigrbl.orm.tables import (
|
|
7
7
|
User as UserBase,
|
|
8
8
|
Tenant as TenantBase,
|
|
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
|
{tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/__init__.py
RENAMED
|
File without changes
|
{tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/fastapi.py
RENAMED
|
File without changes
|
{tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/pydantic.py
RENAMED
|
File without changes
|
{tigrbl_auth-0.3.2.dev7/tigrbl_auth/deps → tigrbl_auth-0.3.2.dev8/tigrbl_auth/vendor}/sqlalchemy.py
RENAMED
|
File without changes
|