2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00

.Net 6 Upgrade

This commit is contained in:
2021-12-01 12:17:45 +03:00
parent 1166e93ba9
commit 530df018ec
164 changed files with 21247 additions and 21425 deletions

View File

@ -30,11 +30,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Esiur.Authority
namespace Esiur.Authority;
public interface IDomain : IResource
{
public interface IDomain : IResource
{
string Name { get; }
DomainCertificate Certificate { get; }
}
string Name { get; }
DomainCertificate Certificate { get; }
}

View File

@ -33,16 +33,15 @@ using Esiur.Core;
using Esiur.Security.Authority;
using Esiur.Resource;
namespace Esiur.Security.Membership
namespace Esiur.Security.Membership;
public interface IMembership
{
public interface IMembership
{
AsyncReply<bool> UserExists(string username, string domain);
AsyncReply<byte[]> GetPassword(string username, string domain);
AsyncReply<byte[]> GetToken(ulong tokenIndex, string domain);
AsyncReply<bool> Login(Session session);
AsyncReply<bool> Logout(Session session);
bool GuestsAllowed { get; }
AsyncReply<string> TokenExists(ulong tokenIndex, string domain);
}
AsyncReply<bool> UserExists(string username, string domain);
AsyncReply<byte[]> GetPassword(string username, string domain);
AsyncReply<byte[]> GetToken(ulong tokenIndex, string domain);
AsyncReply<bool> Login(Session session);
AsyncReply<bool> Logout(Session session);
bool GuestsAllowed { get; }
AsyncReply<string> TokenExists(ulong tokenIndex, string domain);
}

View File

@ -29,13 +29,12 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Esiur.Security.Membership
namespace Esiur.Security.Membership;
public interface IUser
{
public interface IUser
string Username
{
string Username
{
get;
}
get;
}
}