Refactor: Web Consolidation and Identity Stabilization #40
@@ -4,13 +4,11 @@ namespace NexusReader.Application.Abstractions.Services;
|
|||||||
|
|
||||||
public interface INativeStorageService
|
public interface INativeStorageService
|
||||||
{
|
{
|
||||||
Result SaveString(string key, string value);
|
Task<Result<string>> GetSecureString(string key);
|
||||||
Result<string?> GetString(string key);
|
|
||||||
Result SaveBool(string key, bool value);
|
|
||||||
Result<bool> GetBool(string key, bool defaultValue = false);
|
|
||||||
Result Remove(string key);
|
|
||||||
|
|
||||||
Task<Result> SaveSecureString(string key, string value);
|
Task<Result> SaveSecureString(string key, string value);
|
||||||
Task<Result<string?>> GetSecureString(string key);
|
Task<Result<bool>> GetBool(string key);
|
||||||
Result RemoveSecure(string key);
|
Task<Result> SaveBool(string key, bool value);
|
||||||
|
Task<Result<int>> GetInt(string key);
|
||||||
|
Task<Result> SaveInt(string key, int value);
|
||||||
|
Task<Result> ClearAll();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user