Files
flatrender/services/identity/FlatRender.IdentitySvc/Domain/Entities/OAuthConfig.cs
T

13 lines
468 B
C#
Raw Normal View History

namespace FlatRender.IdentitySvc.Domain.Entities;
/// <summary>Admin-editable external OAuth provider credentials (Google, …).</summary>
public class OAuthConfig
{
public string Provider { get; set; } = default!; // "google"
public string? ClientId { get; set; }
public string? ClientSecret { get; set; }
public string? RedirectUri { get; set; }
public bool Enabled { get; set; }
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}