feat(link_codes): linking method between telegram and website
This commit is contained in:
@@ -16,3 +16,12 @@ class AuthContext:
|
||||
user: User
|
||||
auth_method: Literal["jwt", "service"]
|
||||
service: str | None = None
|
||||
|
||||
|
||||
@dataclass
|
||||
class ServiceIdentity:
|
||||
"""
|
||||
Proves that request is coming from verified source, no user context provided.
|
||||
"""
|
||||
|
||||
service: str
|
||||
|
||||
Reference in New Issue
Block a user