Revert "Support both web and Android sessions"
This reverts commit 661be438ec.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user