16 lines
406 B
C#
16 lines
406 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Security.Claims;
|
|
|
|
namespace UserManagement.Application.Interfaces
|
|
{
|
|
public interface IAuthService
|
|
{
|
|
// SIGN IN
|
|
Task<ClaimsPrincipal> SignInAsync(string username, string password, HttpContext httpContext);
|
|
|
|
// SIGN OUT
|
|
Task SignOutAsync(HttpContext httpContext);
|
|
}
|
|
}
|