Allow auth server to staple a .well-known response via createWithIdentV2

This commit is contained in:
Loporrit
2025-06-28 14:32:41 +00:00
parent 82a40d543a
commit c12559afcc
3 changed files with 21 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ public class AuthServiceConfiguration : MareConfigurationBase
public int RegisterIpLimit { get; set; } = 3;
public int RegisterIpDurationInMinutes { get; set; } = 10;
public string WellKnown { get; set; } = string.Empty;
public override string ToString()
{
StringBuilder sb = new();
@@ -21,6 +23,7 @@ public class AuthServiceConfiguration : MareConfigurationBase
sb.AppendLine($"{nameof(UseGeoIP)} => {UseGeoIP}");
sb.AppendLine($"{nameof(RegisterIpLimit)} => {RegisterIpLimit}");
sb.AppendLine($"{nameof(RegisterIpDurationInMinutes)} => {RegisterIpDurationInMinutes}");
sb.AppendLine($"{nameof(WellKnown)} => {WellKnown}");
return sb.ToString();
}
}