#nullable enable
namespace API.DTOs.Settings;
public class OidcConfigDto
{
///
/// Base url for authority, must have /.well-known/openid-configuration
///
public string? Authority { get; set; }
///
/// ClientId configured in your OpenID Connect provider
///
public string? ClientId { get; set; }
///
/// Create a new account when someone logs in with an unmatched account, if is true,
/// will account will be verified by default
///
public bool ProvisionAccounts { get; set; }
///
/// Require emails from OpenIDConnect to be verified before use
///
public bool RequireVerifiedEmail { get; set; }
///
/// Overwrite Kavita roles, libraries and age rating with OpenIDConnect provides roles on log in.
///
public bool ProvisionUserSettings { get; set; }
///
/// Try logging in automatically when opening the app
///
public bool AutoLogin { get; set; }
}