Add IApplicationManager

This commit is contained in:
2021-06-05 21:36:01 +02:00
parent f08f3cf71f
commit 7a1f2946fc
7 changed files with 181 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
using Akari.Prototype.Server.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace Akari.Prototype.Server.Services
{
public interface IApplicationsManager
{
bool TryCreate(string applicationName, out string token);
bool AddFingerprint(string applicationName, string applicationToken, string fingerprintName, string masterPassword);
bool TryRetrieveKey(string applicationName, string token, out AesGcm key);
}
}