using System.ComponentModel.DataAnnotations;

namespace e_suite.API.Common.models.@base;

public class SsoProviderBase
{
    [Required]
    public string Name { get; set; } = string.Empty;

    [Required]
    public string ClientId { get; set; } = string.Empty;

    [Required]
    public string ClientSecret { get; set; } = string.Empty;

    [Required]
    public string ValidIssuer { get; set; } = string.Empty;

    [Required]
    public string AuthorizationEndpoint { get; set; } = string.Empty;

    [Required]
    public string TokenEndpoint { get; set; } = string.Empty;

    public bool IsPublic { get; set; } = true;
}