mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-02 10:59:34 +02:00
api: use wamp services instead of forwarding http requests for internal apis
This commit is contained in:
1 parent
353e866cda
commit
99da765a1c
10 files changed
+230
-233
No files matched your search
@@ -27,9 +27,10 @@ namespace Notesnook.API.Interfaces
|
||||
public interface IUserService
|
||||
{
|
||||
Task CreateUserAsync();
|
||||
Task<bool> DeleteUserAsync(string userId, string jti);
|
||||
Task DeleteUserAsync(string userId);
|
||||
Task DeleteUserAsync(string userId, string jti, string password);
|
||||
Task<bool> ResetUserAsync(string userId, bool removeAttachments);
|
||||
Task<UserResponse> GetUserAsync(bool repair = true);
|
||||
Task<UserResponse> GetUserAsync(string userId);
|
||||
Task SetUserAttachmentsKeyAsync(string userId, IEncrypted key);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user