mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-18 22:37:15 +02:00
api: add encryption verifier
encryption verifier is used for verifying the encryption key during password resets. It can be any encrypted item.
This commit is contained in:
@@ -31,6 +31,7 @@ namespace Notesnook.API.Interfaces
|
||||
Task DeleteUserAsync(string userId, string? jti, string password);
|
||||
Task<bool> ResetUserAsync(string userId, bool removeAttachments);
|
||||
Task<UserResponse> GetUserAsync(string userId);
|
||||
Task<EncryptedData?> GetEncryptionVerifier(string userId);
|
||||
Task SetUserKeysAsync(string userId, UserKeys keys);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user