using BuildingBlock.Identity.Contracts.Responses;
using Thalos.Domain.Contracts;

namespace Thalos.Domain.Decisions;

/// <summary>
/// Defines domain decision boundary for identity token issuance semantics.
/// </summary>
public interface IIdentityTokenDecisionService
{
    /// <summary>
    /// Builds token response from technical token data using domain fallback policy.
    /// </summary>
    IssueIdentityTokenResponse BuildIssuedTokenResponse(IdentityTokenData tokenData);
}
