diff options
author | Vitaly Takmazov | 2023-01-15 09:47:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-15 09:47:06 +0300 |
commit | 5c11e3e85b70a3789c3e330209122723f1b38121 (patch) | |
tree | 4f8e432a2795e9dc91a0092c38e5dc27c8c7e7c7 /src/main/java/com/juick/service/UserService.java | |
parent | 9cc0391c14f64a5b6e0835f1ed07f56304372cf5 (diff) |
PushQueriesService -> UserService
Diffstat (limited to 'src/main/java/com/juick/service/UserService.java')
-rw-r--r-- | src/main/java/com/juick/service/UserService.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/juick/service/UserService.java b/src/main/java/com/juick/service/UserService.java index 8e4067e9..ab060d5f 100644 --- a/src/main/java/com/juick/service/UserService.java +++ b/src/main/java/com/juick/service/UserService.java @@ -197,4 +197,12 @@ public interface UserService { boolean setJIDUser(String hash, int uid); boolean canDeleteTelegramUser(User user); + + Collection<ExternalToken> getToken(int uid, String serviceType); + + Collection<ExternalToken> getTokens(Collection<Integer> uids); + + boolean addToken(Integer uid, String serviceType, String token); + + boolean deleteToken(String serviceType, String token); } |