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:
@ -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; }
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user