All checks were successful
Tag and Release Lightless / tag-and-release (push) Successful in 35s
Co-authored-by: cake <cake@noreply.git.lightless-sync.org> Co-authored-by: cake <admin@cakeandbanana.nl> Co-authored-by: azyges <229218900+azyges@users.noreply.github.com> Co-authored-by: choco <choco@patat.nl> Co-authored-by: choco <choco@noreply.git.lightless-sync.org> Co-authored-by: defnotken <itsdefnotken@gmail.com> Reviewed-on: #73
16 lines
647 B
C#
16 lines
647 B
C#
using Microsoft.AspNetCore.Http.Connections;
|
|
|
|
namespace LightlessSync.LightlessConfiguration.Models;
|
|
|
|
[Serializable]
|
|
public class ServerStorage
|
|
{
|
|
public List<Authentication> Authentications { get; set; } = [];
|
|
public bool FullPause { get; set; } = false;
|
|
public Dictionary<int, SecretKey> SecretKeys { get; set; } = [];
|
|
public string ServerName { get; set; } = string.Empty;
|
|
public string ServerUri { get; set; } = string.Empty;
|
|
public bool UseOAuth2 { get; set; } = false;
|
|
public string? OAuthToken { get; set; } = null;
|
|
public HttpTransportType HttpTransportType { get; set; } = HttpTransportType.WebSockets;
|
|
} |