LANCommander/LANCommander.SDK/Models/Settings/AuthenticationSettings.cs

15 lines
429 B
C#
Raw Permalink Normal View History

using System;
using YamlDotNet.Core;
using YamlDotNet.Serialization;
namespace LANCommander.SDK.Models;
2025-09-26 00:33:59 -05:00
public class AuthenticationSettings
{
[YamlMember(typeof(string))]
public Uri ServerAddress { get; set; }
2025-11-19 00:36:03 -06:00
public AuthToken Token { get; set; }
public bool OfflineModeEnabled { get; set; }
public bool AllowRegistration { get; set; } = true;
public bool AutoRedirectToProvider { get; set; } = false;
}