using System.Security.Claims; using MealPlan.Api.Models; namespace MealPlan.Api.Services; public interface ITokenService { /// Creates a signed JWT access token for the given user. string CreateAccessToken(ApplicationUser user); /// Generates and persists a new refresh token for the given user id. RefreshToken CreateRefreshToken(string userId); /// Access-token lifetime in seconds (exposed to clients for scheduling refresh). int AccessTokenLifetimeSeconds { get; } }