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

Add project files.

This commit is contained in:
Ahmed Zamil
2017-09-15 23:40:03 +03:00
parent 4c95cb1cc6
commit 7ae722ab51
99 changed files with 14687 additions and 0 deletions

39
Test/MyMembership.cs Normal file
View File

@ -0,0 +1,39 @@
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();
}
}
}