添加项目文件。

This commit is contained in:
SpecialX
2025-05-23 19:03:00 +08:00
parent 6fa7679fd3
commit d36fef2bbb
185 changed files with 13413 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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);
}
}