Refactor LoginPage to MVVM
This commit is contained in:
8
Jugenddienst Stunden/Interfaces/IAuthService.cs
Normal file
8
Jugenddienst Stunden/Interfaces/IAuthService.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Jugenddienst_Stunden.Interfaces;
|
||||
|
||||
using Jugenddienst_Stunden.Types;
|
||||
|
||||
public interface IAuthService {
|
||||
Task<User> LoginWithCredentials(string username, string password, string serverUrl, CancellationToken ct = default);
|
||||
Task<User> LoginWithToken(string token, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user