Re-implemented everything using ASP.NET. Changed some requests to use JSON instead of FORM data. Some work towards deleting the FIXMEGlobal instance. Auth is missing, XSRF does not work correctly.
25 lines
594 B
C#
25 lines
594 B
C#
namespace Duplicati.WebserverCore.Dto;
|
|
|
|
/// <summary>
|
|
/// The license dto
|
|
/// </summary>
|
|
public sealed record LicenseDto
|
|
{
|
|
/// <summary>
|
|
/// The component title
|
|
/// </summary>
|
|
public required string Title { get; init; }
|
|
/// <summary>
|
|
/// The homepage of the component
|
|
/// </summary>
|
|
public required string Url { get; init; }
|
|
/// <summary>
|
|
/// The license for the component
|
|
/// </summary>
|
|
public required string License { get; init; }
|
|
/// <summary>
|
|
/// The json data
|
|
/// </summary>
|
|
public required string Jsondata { get; init; }
|
|
}
|