feat: service token introduction

This commit is contained in:
2026-08-18 19:56:14 +07:00
parent 3d79ffb384
commit 3b7606107b
12 changed files with 170 additions and 14 deletions

View File

@@ -14,5 +14,5 @@ class KeyPair:
@dataclass
class AuthContext:
user: User
auth_method: Literal["jwt"]
auth_method: Literal["jwt", "service"]
service: str | None = None