feat: Implement session management
This commit is contained in:
1 parent
23588cc7ff
commit
0451c30d6e
4 files changed
+33
-49
No files matched your search
+20
@@ -270,6 +270,26 @@ class Profile {
|
||||
updatedAt: String?
|
||||
}
|
||||
|
||||
class Session {
|
||||
@PrimaryKey
|
||||
id: String
|
||||
|
||||
@JsonField
|
||||
subject: String
|
||||
|
||||
@JsonField
|
||||
controller: Bech32
|
||||
|
||||
@JsonField
|
||||
origin: String
|
||||
|
||||
@JsonField
|
||||
createdAt: String?
|
||||
|
||||
@JsonField
|
||||
updatedAt: String?
|
||||
}
|
||||
|
||||
|
||||
db_name: String = "vault"
|
||||
db_version: Int = 1
|
||||
Reference in new issue
Block a user