using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Security.Claims; using System.Text; namespace GreenTree.Strohrmann.ERP.Services.Authentication { public interface IAuthenticationService { /// /// Authenticate and sign user in /// /// /// The username. /// The login persistence. public void SignIn(string username, bool isPersistent = false); /// /// Authenticate and sign user in /// /// /// The username. /// The login persistence. public void SignInAdmin(bool isPersistent = false); /// /// Sign user out /// /// public void SignOut(); } }