Achieves 100% XML doc coverage on non-trivial types with CS1591 enforcement via Directory.Build.props. Coverage by project: - Butter: from 6.5% to 100% (DTOs, enums, MIME types) - Lactose: from ~28% to 100% (controllers, services, repos, jobs, models) - MilkStream.Client: from ~29% to 100% (all frontend services) Uses <inheritdoc /> on repository implementations (interfaces already documented) and full <summary>/<param>/<returns> tags elsewhere. Enums include member-level docs.
28 lines
807 B
C#
28 lines
807 B
C#
namespace Butter.Dtos;
|
|
|
|
/// <summary>
|
|
/// Represents the result of an authentication operation.
|
|
/// </summary>
|
|
public class AuthResultDto {
|
|
/// <summary>
|
|
/// Gets or sets the user ID if authentication succeeded.
|
|
/// </summary>
|
|
public Guid? UserId { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the JWT access token.
|
|
/// </summary>
|
|
public string? Token { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the refresh token.
|
|
/// </summary>
|
|
public string? RefreshToken { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets an error message if authentication failed.
|
|
/// </summary>
|
|
public string? ErrorMessage { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets whether the authentication was successful.
|
|
/// </summary>
|
|
public bool Success { get; set; }
|
|
}
|