mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
auth
This commit is contained in:
1 parent
959bc76721
commit
ae6a1fc8d7
8 files changed
+123
-20
No files matched your search
@@ -5,7 +5,7 @@ using System.Text;
|
||||
|
||||
namespace Esiur.Security.Authority.Providers
|
||||
{
|
||||
internal class PasswordAuthenticationProvider : IAuthenticationProvider
|
||||
public class PasswordAuthenticationProvider : IAuthenticationProvider
|
||||
{
|
||||
public string DefaultName => "hash";
|
||||
|
||||
@@ -37,14 +37,14 @@ namespace Esiur.Security.Authority.Providers
|
||||
return null;
|
||||
}
|
||||
|
||||
public AsyncReply<bool> Login(Session session)
|
||||
public virtual AsyncReply<bool> Login(Session session)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return new AsyncReply<bool>(false);
|
||||
}
|
||||
|
||||
public AsyncReply<bool> Logout(Session session)
|
||||
public virtual AsyncReply<bool> Logout(Session session)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return new AsyncReply<bool>(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user