19 lines
550 B
C#
19 lines
550 B
C#
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);
|
|
}
|
|
}
|