SDK Overview
The JavaScript SDK is the primary client surface for custom browser and app integrations. It wraps verification creation, deterministic signing helpers, hosted verify handoff, proof polling, and widget exports in one package.What the SDK Covers
Create & Poll Proofs
Submit verification requests, standardize signing, and poll async proof status.
Authentication Helpers
Use hosted login and auth code exchange guidance for lower-friction browser flows.
Verification Patterns
Choose reuse, fresh proof, or gate-check strategies based on policy and UX needs.
Error Handling
Handle retries, hosted flow failures, interactive verifier handoff, and private proof auth.
Install
Quick Start
Next Steps
JavaScript SDK
Full API shape, client methods, and examples.
Verification Patterns
Proof lifecycle choices and when to use each strategy.
Security
Signing, replay protection, and private proof handling.
Authentication
Hosted login, session management, and token flows.
Error Handling
Error codes, retry strategies, and edge cases.
Related Resources
| Surface | Link |
|---|---|
| Widgets | React components for gating and badges |
| API Docs | HTTP endpoint reference |
| MCP Server | Agent-facing tool integration |