AuthProvider

- No longer provide a `User`

DummyProvider

- API update
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-19 15:08:32 +02:00
parent 8a7e70e2a9
commit 04b7a87f78
1 changed files with 2 additions and 2 deletions

View File

@ -94,12 +94,12 @@ unittest
public interface AuthProvider
{
public bool authenticate(string username, string password, ref User user);
public bool authenticate(string username, string password);
}
public class DummyProvider : AuthProvider
{
public bool authenticate(string username, string password, ref User user)
public bool authenticate(string username, string password)
{
user = User(username);
return true;