identity and trustpackages/iam/captcha
captcha package
Bot challenge with Cloudflare Turnstile / hCaptcha / reCAPTCHA behind one verify() call. Server-side scoring, per-route enable, no third-party tracker on the client.
- Stability
- Stable
- Scope
- Tenant-scoped
- Boundary
- packages/iam/captcha
captchapackages/iam/captcha
Tenant-isolated
Policy decisionpass
- Actor verified24 ms
- Tenant scope9 ms
- captcha authorized29 ms
- Audit logged5 ms
Active session
actor_lfwayne_4492
ownermfa
Expires in 19m
Active sessions
767
+8%
Audit entries / day
34,125
Policy checks / s
245
+9%
packages/iam/captchaIdentity and trust · single boundary
Usagecaptcha.ts
typescriptcaptcha.ts
1import { captcha } from "@nebutra/captcha";
2
3// Tenant-scoped, audit-logged by default.
4await captcha.check({
5 actor: getCurrentActor(),
6 tenantId: org.id,
7});