Skip to content

Instantly share code, notes, and snippets.

@nishanc
Created May 5, 2019 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishanc/2a380bcde3e9fd35a910f0a267fd444f to your computer and use it in GitHub Desktop.
Save nishanc/2a380bcde3e9fd35a910f0a267fd444f to your computer and use it in GitHub Desktop.
using System.Threading.Tasks;
namespace JWTAuth.API.Data
{
public class AuthRepository : IAuthRepository
{
public async Task<User> Login(string username, string password)
{
}
public async Task<User> Register(User user, string password)
{
}
public async Task<bool> UserExists(string username)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment