Add IApplicationManager
This commit is contained in:
18
Akari.Prototype.Server/Services/IApplicationsManager.cs
Normal file
18
Akari.Prototype.Server/Services/IApplicationsManager.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user