Expand description
Core-name facade over captcha-sdk.
This crate intentionally adds no behavior of its own. It reexports the
captcha-sdk API and forwards provider feature flags for applications that
prefer the captcha-core package name.
Modules§
- providers
- Feature-gated provider adapter scaffolds.
Structs§
- Captcha
Token - An opaque token produced by a CAPTCHA provider’s client-side widget.
- Provider
Id - A stable, validated identity for a CAPTCHA provider product.
- Verification
Error - Error raised when no normalized verification result can be produced.
- Verification
Request - Provider-independent input for one verification attempt.
- Verification
Result - Provider-independent outcome of a CAPTCHA verification attempt.
Enums§
- Captcha
Token Error - Reason a CAPTCHA token could not be accepted.
- Failure
Reason - A normalized reason explaining why a CAPTCHA was not accepted.
- Invalid
Provider Id - Reason a provider identifier could not be accepted.
- Verification
Error Kind - Broad category for failures that prevent a verification result.
Constants§
- MAX_
CAPTCHA_ TOKEN_ LEN - Maximum accepted CAPTCHA token length, in bytes.
- MAX_
PROVIDER_ ID_ LEN - Maximum accepted length of a provider identifier, in ASCII bytes.
- MAX_
PROVIDER_ ID_ SEGMENT_ LEN - Maximum accepted length of one provider identifier segment, in ASCII bytes.
Traits§
- Captcha
Verifier - Provider-independent interface implemented by CAPTCHA adapters.
Type Aliases§
- Verification
Future - The boxed future returned by an object-safe
CaptchaVerifier.