AuthProvider
- No longer provide a `User` DummyProvider - API update
This commit is contained in:
parent
8a7e70e2a9
commit
04b7a87f78
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue