Skip to content
All features
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.

Open docs
Stability
Stable
Scope
Tenant-scoped
Boundary
packages/iam/captcha
captchapackages/iam/captcha
Tenant-isolated
Policy decisionpass
  • Actor verified
    24 ms
  • Tenant scope
    9 ms
  • captcha authorized
    29 ms
  • Audit logged
    5 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
typescript
captcha.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});