Added a way to login and register and a tools project
This commit is contained in:
14
BrightGlimmer.Service/Interfaces/IUserService.cs
Normal file
14
BrightGlimmer.Service/Interfaces/IUserService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using BrightGlimmer.Domain.Auth;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BrightGlimmer.Service.Interfaces
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
string Login(string username, string password);
|
||||
Task<string> RegisterAsync(User user, string password);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user