mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 11:32:59 +00:00
40 lines
798 B
C#
40 lines
798 B
C#
using Esiur.Data;
|
|
using Esiur.Engine;
|
|
using Esiur.Resource;
|
|
using Esiur.Security.Membership;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Test
|
|
{
|
|
class MyMembership : IMembership
|
|
{
|
|
public Instance Instance { get; set; }
|
|
|
|
public event DestroyedEvent OnDestroy;
|
|
|
|
|
|
|
|
public void Destroy()
|
|
{
|
|
}
|
|
|
|
public AsyncReply<byte[]> GetPassword(string username, string domain)
|
|
{
|
|
return new AsyncReply<byte[]>(DC.ToBytes("password"));
|
|
}
|
|
|
|
public AsyncReply<bool> Trigger(ResourceTrigger trigger)
|
|
{
|
|
return new AsyncReply<bool>(true);
|
|
}
|
|
|
|
public bool UserExists(string username)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
|
|
}
|