add first commit

This commit is contained in:
2026-07-21 15:44:55 +08:00
commit 1e2fa9e3bb
6 changed files with 1377 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# utils/jwt/chongming_jwt.pyi
from typing import Optional
class JWT:
def __init__(self, secret: str, algorithm: Optional[str] = None) -> None: ...
def encode(self, payload: str, expires_in_seconds: Optional[int] = None) -> str: ...
def decode(self, token: str) -> str: ...
def validate(self, token: str) -> bool: ...