Contact: captcha-regio (global/eu) in de token-response en frame-src voor de StrictSite-CSP (CMS-U9 vervolg)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 23:11:07 +01:00
co-authored by Claude Sonnet 5.5
parent 3275092401
commit 5378c21799
15 changed files with 291 additions and 34 deletions
@@ -17,7 +17,8 @@ public record ContactMessageRequest(
string? CaptchaToken);
[ExcludeFromCodeCoverage]
public record ContactCaptchaInfo(string Provider, string SiteKey);
/// <summary>What the website widget needs. <c>ApiEndpoint</c> is <c>global</c> or <c>eu</c> (Friendly Captcha data region).</summary>
public record ContactCaptchaInfo(string Provider, string SiteKey, string ApiEndpoint = "global");
[ExcludeFromCodeCoverage]
public record ContactTokenResponse(string Token, int MinSeconds, ContactCaptchaInfo? Captcha);