1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-08 03:23:23 +00:00

PM-1271 Removed StorageMediatorOptions and go to a plain parameters based approach (#2397)

This commit is contained in:
Federico Maccaroni
2023-03-02 19:06:38 -03:00
committed by GitHub
parent a81dfc271c
commit 3f86bb0cd7
3 changed files with 13 additions and 21 deletions

View File

@@ -9,8 +9,8 @@ namespace Bit.Core.Abstractions
void Save<T>(string key, T obj);
void Remove(string key);
Task<T> GetAsync<T>(string key, StorageMediatorOptions options = default);
Task SaveAsync<T>(string key, T obj, StorageMediatorOptions options = default);
Task RemoveAsync(string key, StorageMediatorOptions options = default);
Task<T> GetAsync<T>(string key, bool useSecureStorage = false);
Task SaveAsync<T>(string key, T obj, bool useSecureStorage = false, bool allowSaveNull = false);
Task RemoveAsync(string key, bool useSecureStorage = false);
}
}