Revert "Support both web and Android sessions"

This reverts commit 661be438ec.
This commit is contained in:
Zed
2025-02-25 23:36:02 +00:00
parent 661be438ec
commit 41fa47bfbf
4 changed files with 18 additions and 47 deletions

View File

@@ -31,20 +31,10 @@ type
remaining*: int
reset*: int
SessionKind* = enum
oauth
cookie
Session* = ref object
case kind*: SessionKind
of oauth:
oauthToken*: string
oauthSecret*: string
of cookie:
ct0*: string
authToken*: string
id*: int64
oauthToken*: string
oauthSecret*: string
pending*: int
limited*: bool
limitedAt*: int