using BuildingBlock.Identity.Contracts.Abstractions;

namespace BuildingBlock.Identity.Contracts.Responses;

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