26 lines
682 B
C#
26 lines
682 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using TIAMWebApp.Shared.Application.Interfaces;
|
|
using TIAMWebApp.Shared.Application.Models.ClientSide;
|
|
|
|
namespace TIAMMobileApp.Services
|
|
{
|
|
public class SecureStorageHandler : ISecureStorageHandler
|
|
{
|
|
public async Task SaveToSecureStorageAsync(string key, string value)
|
|
{
|
|
|
|
await SecureStorage.SetAsync(key, value);
|
|
|
|
}
|
|
|
|
public async Task<string> GetFromSecureStorageAsync(string key)
|
|
{
|
|
return await SecureStorage.GetAsync(key);
|
|
}
|
|
}
|
|
}
|