15 lines
453 B
C#
15 lines
453 B
C#
using FluentResults;
|
|
|
|
namespace NexusReader.Application.Abstractions.Services;
|
|
|
|
public interface INativeStorageService
|
|
{
|
|
Task<Result<string>> GetSecureString(string key);
|
|
Task<Result> SaveSecureString(string key, string value);
|
|
Task<Result<bool>> GetBool(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();
|
|
}
|