move kontor_model in kontor-api

This commit is contained in:
Thomas Peetz
2026-10-15 19:10:32 +02:00
parent 2e80cd9b0e
commit 7cc2784bdb
69 changed files with 3974 additions and 730 deletions
+13
View File
@@ -0,0 +1,13 @@
from typing import List, Optional
from pydantic import BaseModel
class Token(BaseModel):
access_token: str
token_type: str
class TokenData(BaseModel):
username: Optional[str] = None
scopes: List[str] = []