2025-09-24 20:58:23 -05:00
|
|
|
using System;
|
2025-10-08 19:52:37 -05:00
|
|
|
using YamlDotNet.Core;
|
2025-09-29 19:51:16 -05:00
|
|
|
using YamlDotNet.Serialization;
|
2025-09-24 20:58:23 -05:00
|
|
|
|
|
|
|
|
namespace LANCommander.SDK.Models;
|
|
|
|
|
|
2025-09-26 00:33:59 -05:00
|
|
|
public class AuthenticationSettings
|
2025-09-24 20:58:23 -05:00
|
|
|
{
|
2025-09-29 19:51:16 -05:00
|
|
|
[YamlMember(typeof(string))]
|
2025-09-24 20:58:23 -05:00
|
|
|
public Uri ServerAddress { get; set; }
|
2025-11-19 00:36:03 -06:00
|
|
|
public AuthToken Token { get; set; }
|
2025-09-24 20:58:23 -05:00
|
|
|
public bool OfflineModeEnabled { get; set; }
|
2026-06-14 21:46:29 -05:00
|
|
|
public bool AllowRegistration { get; set; } = true;
|
2026-06-22 21:08:48 -05:00
|
|
|
public bool AutoRedirectToProvider { get; set; } = false;
|
2025-09-24 20:58:23 -05:00
|
|
|
}
|