Last active
May 5, 2019 18:54
-
-
Save nishanc/b8c1136882f4d00dab8c24d8a1f4992a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
using JWTAuth.API.Models; | |
namespace JWTAuth.API.Data | |
{ | |
public interface IAuthRepository | |
{ | |
Task<User> Register(User user, string password); | |
Task<User> Login(string username, string pasword); | |
Task<bool> UserExists(string username); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment