mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 04:06:51 +00:00
Bugfix
This commit is contained in:
1 parent
08e95bd4dc
commit
8763ac805e
4 files changed
+56
-15
No files matched your search
+13
-1
@@ -1,6 +1,7 @@
|
||||
using Esiur.Data;
|
||||
using Esiur.Engine;
|
||||
using Esiur.Resource;
|
||||
using Esiur.Security.Authority;
|
||||
using Esiur.Security.Membership;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -25,12 +26,23 @@ namespace Test
|
||||
return new AsyncReply<byte[]>(DC.ToBytes("1234"));
|
||||
}
|
||||
|
||||
public AsyncReply<bool> Login(Session session)
|
||||
{
|
||||
return new AsyncReply<bool>(true);
|
||||
}
|
||||
|
||||
public AsyncReply<bool> Logout(Session session)
|
||||
{
|
||||
return new AsyncReply<bool>(true);
|
||||
}
|
||||
|
||||
public AsyncReply<bool> Trigger(ResourceTrigger trigger)
|
||||
{
|
||||
return new AsyncReply<bool>(true);
|
||||
}
|
||||
|
||||
public AsyncReply<bool> UserExists(string username)
|
||||
|
||||
public AsyncReply<bool> UserExists(string username, string domain)
|
||||
{
|
||||
return new AsyncReply<bool>(username == "demo");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user