CodeLiturgy.Dashboard/BlueWest.Api/Users/Auth/IAuthManager.cs

15 lines
381 B
C#
Raw Normal View History

2022-09-10 00:33:17 +03:00
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);
}