15 lines
381 B
C#
15 lines
381 B
C#
|
using System.Threading.Tasks;
|
||
|
using BlueWest.Data;
|
||
|
using Microsoft.AspNetCore.Identity;
|
||
|
|
||
|
namespace BlueWest.WebApi.Context.Users;
|
||
|
|
||
|
public interface IAuthManager
|
||
|
{
|
||
|
Task<IdentityResult> CreateUserAsync(RegisterViewModel registerViewModel);
|
||
|
|
||
|
Task<bool> VerifyLoginAsync(string email, string password);
|
||
|
|
||
|
Task<AccessToken> GetToken(LoginViewModel loginViewModel);
|
||
|
|
||
|
}
|