mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-03 16:19:46 +00:00
12 lines
293 B
C#
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);
|
|
} |