SeliseBlocks.CaptchaDriver
10.0.0-preview.2
dotnet add package SeliseBlocks.CaptchaDriver --version 10.0.0-preview.2
NuGet\Install-Package SeliseBlocks.CaptchaDriver -Version 10.0.0-preview.2
<PackageReference Include="SeliseBlocks.CaptchaDriver" Version="10.0.0-preview.2" />
<PackageVersion Include="SeliseBlocks.CaptchaDriver" Version="10.0.0-preview.2" />
<PackageReference Include="SeliseBlocks.CaptchaDriver" />
paket add SeliseBlocks.CaptchaDriver --version 10.0.0-preview.2
#r "nuget: SeliseBlocks.CaptchaDriver, 10.0.0-preview.2"
#:package SeliseBlocks.CaptchaDriver@10.0.0-preview.2
#addin nuget:?package=SeliseBlocks.CaptchaDriver&version=10.0.0-preview.2&prerelease
#tool nuget:?package=SeliseBlocks.CaptchaDriver&version=10.0.0-preview.2&prerelease
SeliseBlocks.CaptchaDriver
Captcha driver for SELISE Blocks. Provides a thin ICaptchaDriverService over the
captcha domain services (create, submit, and verify captcha challenges).
Usage
Register the captcha services in your DI container:
using Blocks.Extension.DependencyInjection;
services.RegisterBlocksCaptchaService();
Then inject ICaptchaDriverService (or ICaptchaService) where you need captcha
functionality.
Configuration
Captcha settings are read from the shared Secrets collection, using the document
whose SecretKey is captcha. The values live under KeyPairs (key lookup is
case-insensitive):
| Key | Description |
|---|---|
IsEnable |
Whether captcha is enabled (true/false, case-insensitive). |
Provider |
Captcha provider: recaptcha, hcaptcha, or bcaptcha. |
CaptchaKey |
Provider site/public key. |
CaptchaSecret |
Provider secret key. |
CaptchaProvider |
Generator implementation (e.g. EasyCaptchaGenerator). |
The legacy layout — a
KeyValuePairsdictionary with camelCase keys (isEnable,provider,captchaKey,captchaSecret,captchaGenerator) — is also still accepted.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FluentValidation (>= 12.1.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
- Newtonsoft.Json (>= 13.0.4)
- SeliseBlocks.Genesis (>= 10.0.14)
- SixLabors.Fonts (>= 2.1.3)
- SixLabors.ImageSharp (>= 3.1.12)
- SixLabors.ImageSharp.Drawing (>= 2.1.7)
- System.Drawing.Common (>= 10.0.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SeliseBlocks.CaptchaDriver:
| Package | Downloads |
|---|---|
|
SeliseBlocks.IamDriver
Blocks Iam Driver |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-preview.2 | 4 | 6/17/2026 |
| 10.0.0-preview.1 | 44 | 6/16/2026 |
| 9.0.0-preview.22 | 2,326 | 5/24/2025 |
| 9.0.0-preview.21 | 1,523 | 4/16/2025 |
| 9.0.0-preview.20 | 218 | 4/16/2025 |
| 9.0.0-preview.19 | 221 | 4/16/2025 |
| 8.0.0-preview.18 | 297 | 3/19/2025 |
| 8.0.0-preview.17 | 172 | 3/19/2025 |
| 8.0.0-preview.16 | 188 | 3/11/2025 |
| 8.0.0-preview.15 | 183 | 3/11/2025 |
| 8.0.0-preview.14 | 184 | 3/11/2025 |
| 8.0.0-preview.13 | 186 | 3/11/2025 |
| 8.0.0-preview.12 | 125 | 2/27/2025 |
| 8.0.0-preview.11 | 150 | 2/24/2025 |
| 8.0.0-preview.10 | 129 | 2/24/2025 |
| 8.0.0-preview.9 | 146 | 2/23/2025 |
| 8.0.0-preview.8 | 136 | 2/23/2025 |
| 8.0.0-preview.7 | 130 | 2/23/2025 |
| 8.0.0-preview.6 | 132 | 2/23/2025 |
| 8.0.0-preview.5 | 114 | 2/23/2025 |