23 lines
645 B
C#
23 lines
645 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 : IEnumerable<Application>
|
|
{
|
|
bool TryCreate(string applicationName, out string applicationToken);
|
|
|
|
bool Contains(string applicationName);
|
|
|
|
bool Remove(string applicationName);
|
|
|
|
bool AddFingerprint(string applicationName, string fingerprintName);
|
|
|
|
bool TryRetrieveKey(string applicationName, string applicationToken, out AesGcm key);
|
|
}
|
|
}
|