Rob / Application /DTOs /UserDTOs /AuthResultDTO.cs
danylokhodus's picture
Initial clean backend commit
70556b7
Raw
History Blame Contribute Delete
528 Bytes
namespace Application.DTOs.UserDTOs
{
public class AuthResultDTO
{
/// <summary>
/// "Success", "NeedsAdditionalInfo", "Error"
/// </summary>
public string Status { get; set; }
public string? Token { get; set; }
public string? Message { get; set; }
// Fields populated when Status == "NeedsAdditionalInfo" (Google flow)
public string? GoogleId { get; set; }
public string? Email { get; set; }
public string? UserName { get; set; }
}
}