Expand description
§omnicaptcha
Umbrella facade crate for provider-independent CAPTCHA verification.
omnicaptcha reexports the public captcha-sdk API for projects that prefer a
provider-neutral package name.
Provider-specific modules remain feature-gated and forward to the matching
captcha-sdk features.
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.