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:
Abdullah Atta
2026-08-18 08:36:02 +05:00
parent 768384011d
commit 0a3ee07b95
4 changed files with 41 additions and 0 deletions
+1
View File
@@ -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);
}
}