Files
Eveldee ee9bc9ad33 Update IMasterKeyService
Use an explicit property instead of a method for CheckConfig
2021-06-07 15:39:59 +02:00

21 lines
464 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace Akari.Prototype.Server.Services
{
public interface IMasterKeyService
{
public bool IsLoggedIn { get; }
public bool IsPasswordSet { get; }
public bool Login(string password);
public bool TryGetKey(out AesGcm key);
public bool CreatePassword(string password);
}
}