thalos-dal/src/Thalos.DAL/Contracts/IdentityUserRecord.cs
2026-02-24 05:26:54 -06:00

21 lines
822 B
C#

namespace Thalos.DAL.Contracts;
/// <summary>
/// Contract representing a persisted identity user aggregate.
/// </summary>
/// <param name="Envelope">Contract envelope metadata.</param>
/// <param name="SubjectId">Identity subject identifier.</param>
/// <param name="TenantId">Tenant scope identifier.</param>
/// <param name="Status">Current user status.</param>
/// <param name="Token">Persisted token projection for subject/tenant.</param>
/// <param name="ExpiresInSeconds">Persisted token expiration in seconds.</param>
/// <param name="ContextSatisfied">Persisted policy context projection.</param>
public sealed record IdentityUserRecord(
IdentityContractEnvelope Envelope,
string SubjectId,
string TenantId,
string Status,
string Token,
int ExpiresInSeconds,
bool ContextSatisfied);