Update IFingerprintManager

This commit is contained in:
2021-06-05 10:47:11 +02:00
parent 5e303c39f2
commit 187c320704
3 changed files with 45 additions and 6 deletions

View File

@@ -6,11 +6,12 @@ using System.Threading.Tasks;
namespace Akari.Prototype.Server.Services
{
public interface IFingerprintManager
public interface IFingerprintManager : IEnumerable<KeyValuePair<string, string>>
{
IEnumerable<KeyValuePair<string, string>> FingerprintsHash { get; }
bool Add(string name, string hash);
bool Contains(string name);
bool Remove(string name);
void Set(string name, string hash);
void VerifyFingerprint(string name, string token);
}