// Create a new file: DTOs/OAuthSettingsDto.cs using eprintServer.Entities; namespace eprintServer.DTOs; public class OAuthSettingsResponseDto2 { public long Id { get; set; } // Only include non-sensitive fields public string? ThawaniPublicKey { get; set; } // Public key is safe to share public string? TwilioPhoneNumber { get; set; } // Phone number might be safe public DateTime UpdatedAt { get; set; } // You can also include boolean flags indicating if services are configured public bool IsGoogleConfigured { get; set; } public bool IsFacebookConfigured { get; set; } public bool IsInstagramConfigured { get; set; } public bool IsLinkedInConfigured { get; set; } public bool IsThawaniConfigured { get; set; } public bool IsTwilioConfigured { get; set; } // Optionally include masked versions of sensitive data public string GoogleClientId { get; set; } = ""; public string FacebookAppId { get; set; } = ""; public string LinkedInClientId { get; set; } = ""; // This is the "Public" part of LinkedIn OAuth }