using System.Security.Claims;
using BlueWest.Data.Application.Users;
using Microsoft.AspNetCore.Identity;
namespace BlueWest.Data.Auth.Context.Users
{
public interface IUserManager
{
///
///
///
///
///
Task GetUserAsync(ClaimsPrincipal principal);
///
/// Create user.
///
///
///
Task CreateAsync(ApplicationUser user);
///
/// Checks for user password
///
///
///
///
Task CheckPasswordAsync(ApplicationUser user, string password);
///
/// Find by email
///
///
///
Task FindByEmailAsync(string email);
string GetUserId(ClaimsPrincipal principal);
}
}