aiteamutils 0.2.16__py3-none-any.whl → 0.2.18__py3-none-any.whl
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.
aiteamutils/security.py
CHANGED
@@ -9,7 +9,7 @@ from passlib.context import CryptContext
|
|
9
9
|
from .exceptions import CustomException, ErrorCode
|
10
10
|
from .database import DatabaseService
|
11
11
|
from .enums import ActivityType
|
12
|
-
from .config import
|
12
|
+
from .config import get_settings
|
13
13
|
|
14
14
|
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
|
15
15
|
|
@@ -282,6 +282,7 @@ async def create_jwt_token(
|
|
282
282
|
SecurityError: 기타 보안 관련 오류 발생 시
|
283
283
|
"""
|
284
284
|
try:
|
285
|
+
settings = get_settings()
|
285
286
|
# 필수 필드 검증
|
286
287
|
required_fields = {"username", "ulid"}
|
287
288
|
missing_fields = required_fields - user_data.keys()
|
@@ -361,6 +362,7 @@ async def verify_jwt_token(
|
|
361
362
|
) -> Dict[str, Any]:
|
362
363
|
"""JWT 토큰을 검증합니다."""
|
363
364
|
try:
|
365
|
+
settings = get_settings()
|
364
366
|
# 토큰 디코딩
|
365
367
|
payload = jwt.decode(
|
366
368
|
token,
|
aiteamutils/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
"""버전 정보"""
|
2
|
-
__version__ = "0.2.
|
2
|
+
__version__ = "0.2.18"
|
@@ -8,9 +8,9 @@ aiteamutils/database.py,sha256=09ihgJgKlCTouWPnb2dMhWqNH75n7lwB5GauEtr3oiQ,33226
|
|
8
8
|
aiteamutils/dependencies.py,sha256=S6OWV4d3TONKKW9tRUP9whQlVX5DFfOq7U-7VUyPktA,3928
|
9
9
|
aiteamutils/enums.py,sha256=ipZi6k_QD5-3QV7Yzv7bnL0MjDz-vqfO9I5L77biMKs,632
|
10
10
|
aiteamutils/exceptions.py,sha256=YV-ISya4wQlHk4twvGo16I5r8h22-tXpn9wa-b3WwDM,15231
|
11
|
-
aiteamutils/security.py,sha256=
|
11
|
+
aiteamutils/security.py,sha256=2k5j8iV4jkp0IGRmOtEbVyoeuoDHbguzaYju0Wm-mmI,12715
|
12
12
|
aiteamutils/validators.py,sha256=3N245cZFjgwtW_KzjESkizx5BBUDaJLbbxfNO4WOFZ0,7764
|
13
|
-
aiteamutils/version.py,sha256=
|
14
|
-
aiteamutils-0.2.
|
15
|
-
aiteamutils-0.2.
|
16
|
-
aiteamutils-0.2.
|
13
|
+
aiteamutils/version.py,sha256=Sg4iiIem99YPfKGAPuPMcjzOHo_0DUVkFzUVuKBGb3E,44
|
14
|
+
aiteamutils-0.2.18.dist-info/METADATA,sha256=rYXv8IYNGPEbLVPK_5EGOfpu_YmKQ7_YWgGV7Tnwt1k,1718
|
15
|
+
aiteamutils-0.2.18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
16
|
+
aiteamutils-0.2.18.dist-info/RECORD,,
|
File without changes
|