Use new Auth API
This commit is contained in:
parent
38e76d3539
commit
79c17f75cd
16 changed files with 94 additions and 150 deletions
8
Website/Data/IAuthenticationProvider.cs
Normal file
8
Website/Data/IAuthenticationProvider.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
using System.Threading.Tasks;
|
||||
using Website.Models;
|
||||
|
||||
namespace Website.Data {
|
||||
public interface IAuthenticationProvider {
|
||||
Task<User> Authenticate(LoginRequest request);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue