2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 22:48:42 +00:00
This commit is contained in:
2026-05-25 23:46:29 +03:00
parent 959bc76721
commit ae6a1fc8d7
8 changed files with 123 additions and 20 deletions
@@ -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);
}
}
}