shopping-assistant-api/ShoppingAssistantApi.Application/IServices/Identity/ITokensService.cs
2023-10-16 03:22:49 +00:00

12 lines
293 B
C#

using System.Security.Claims;
namespace ShoppingAssistantApi.Application.IServices.Identity;
public interface ITokensService
{
string GenerateAccessToken(IEnumerable<Claim> claims);
string GenerateRefreshToken();
ClaimsPrincipal GetPrincipalFromExpiredToken(string token);
}