13 lines
468 B
C#
13 lines
468 B
C#
|
|
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;
|
||
|
|
}
|