namespace Features.Auth.Dtos; /// Payload returned to the client after a successful login or token refresh. public record LoginPayload( Guid UserAccountId, string Username, string RefreshToken, string AccessToken ); /// Payload returned to the client after a successful registration. public record RegistrationPayload( Guid UserAccountId, string Username, string RefreshToken, string AccessToken, bool ConfirmationEmailSent ); /// Payload returned to the client after a user account's email has been confirmed. public record ConfirmationPayload(Guid UserAccountId, DateTime ConfirmedDate);