using TechHelper.Context;
using Microsoft.AspNetCore.Identity;
using System.Security.Claims;
using Entities.Contracts;

namespace TechHelper.Services
{
	public interface IAuthenticationService
	{
		public Task<string> GetToken(User user);
		public string GenerateRefreshToken();
		public ClaimsPrincipal GetPrincipalFromExpiredToken(string token);	
	}
}
