1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-06 17:40:59 +00:00

initial commit

This commit is contained in:
avdb13 2024-07-16 15:01:11 +02:00
parent 8abab8c8a0
commit 099a99826e
7 changed files with 181 additions and 9 deletions

View file

@ -58,6 +58,8 @@ pub struct KeyValueDatabase {
pub(super) userid_selfsigningkeyid: Arc<dyn KvTree>,
pub(super) userid_usersigningkeyid: Arc<dyn KvTree>,
pub(super) openidtoken_expiresatuserid: Arc<dyn KvTree>, // expiresatuserid = expiresat + userid
pub(super) accesstoken_refreshtokenttl: Arc<dyn KvTree>,
pub(super) refreshtoken_accesstokenttl: Arc<dyn KvTree>,
pub(super) userfilterid_filter: Arc<dyn KvTree>, // UserFilterId = UserId + FilterId
@ -294,6 +296,8 @@ impl KeyValueDatabase {
userid_selfsigningkeyid: builder.open_tree("userid_selfsigningkeyid")?,
userid_usersigningkeyid: builder.open_tree("userid_usersigningkeyid")?,
openidtoken_expiresatuserid: builder.open_tree("openidtoken_expiresatuserid")?,
accesstoken_refreshtokenttl: builder.open_tree("accesstoken_refreshtokenttl")?,
refreshtoken_accesstokenttl: builder.open_tree("refreshtoken_accesstokenttl")?,
userfilterid_filter: builder.open_tree("userfilterid_filter")?,
todeviceid_events: builder.open_tree("todeviceid_events")?,