using BuildingBlock.Identity.Contracts.Abstractions;

namespace BuildingBlock.Identity.Contracts.Responses;

/// <summary>
/// Returns issued identity token payload.
/// </summary>
/// <param name="Token">Issued token value.</param>
/// <param name="ExpiresInSeconds">Token lifetime in seconds.</param>
public sealed record IssueIdentityTokenResponse(string Token, int ExpiresInSeconds) : IIdentityCapabilityContract;
