0.1.0-preview.2

This commit is contained in:
biss committed 2026-09-12 08:32:43 +08:00
1 parent 0631f17bf5
commit 9122699c8b
63 files changed
+165 -46

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
CaptchaKit is an ASP.NET Core CAPTCHA foundation with server-side, one-time validation and pluggable generators and storage.
`CaptchaKit.Core` has provider-neutral contracts. `CaptchaKit.AspNetCore` supplies a SkiaSharp text-image generator and `IDistributedCache` storage.
`CaptchaKit.Core` has provider-neutral contracts. `CaptchaKit.AspNetCore` supplies randomized text-image, selection, and one-click challenges with `IDistributedCache` storage.
The package does not claim that image CAPTCHA alone defeats determined automation. Deploy it with rate limits, account lockout, and appropriate risk controls.
@@ -27,7 +27,7 @@ builder.Services.AddCaptchaKit(options =>
});
```
An endpoint can obtain an image challenge and return it in the format used by its UI:
An endpoint can obtain a challenge and return its type, prompt, choices, and optional image in the format used by its UI:
```csharp
var challenge = await captcha.CreateAsync(cancellationToken);