1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-13 23:03:23 +00:00

setup more models

This commit is contained in:
Kyle Spearrin
2019-04-12 10:06:47 -04:00
parent a1ba2bf60b
commit c89805d123
14 changed files with 412 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
using Bit.Core.Enums;
using System;
using System.Threading.Tasks;
namespace Bit.Core.Models.Domain
{
@@ -96,14 +97,14 @@ namespace Bit.Core.Models.Domain
public string Data { get; private set; }
public string Mac { get; private set; }
public string Decrypt(string orgId = null)
public Task<string> DecryptAsync(string orgId = null)
{
if(_decryptedValue == null)
{
// TODO
}
return _decryptedValue;
return Task.FromResult(_decryptedValue);
}
}
}