using System; using System.Security.Claims; using System.Threading.Tasks; using BlueWest.Data.Application; using Microsoft.AspNetCore.Identity; namespace BlueWest.WebApi.Context.Users; /// /// Auth manager contract interface. /// public interface IAuthManager { /// /// CreateUserAsync /// /// /// Task CreateUserAsync(RegisterViewModel registerViewModel); /// /// Does Login /// /// /// public Task<(bool, string, ClaimsIdentity)> GetSessionTokenId(LoginRequest loginRequest); /// /// Gets a valid bearer token by the session id /// /// /// Task<(bool, string)> GetBearerTokenBySessionTokenId(string sessionId); }