IAM SDK
TypeScript SDK for Hanzo IAM — authentication, organizations, billing, and React bindings.
@hanzo/iam
TypeScript SDK for Hanzo IAM (Identity & Access Management). Provides OIDC auth, JWT validation, OAuth2 PKCE browser flows, org/project switching, billing, and React bindings.
npm install @hanzo/iamEntry Points
| Import Path | Description |
|---|---|
@hanzo/iam | Core client, JWT validation, types |
@hanzo/iam/react | React provider and hooks (IamProvider, useIam, useOrganizations) |
@hanzo/iam/browser | Browser PKCE SDK (standalone, no React) |
@hanzo/iam/billing | Billing client (subscriptions, plans, pricing) |
@hanzo/iam/auth | JWT validation only |
@hanzo/iam/types | Type definitions only |
Documentation
Full SDK documentation lives in the IAM repository:
- IAM API reference — every operation, one page each
- Authentication — JWT validation, PKCE flows, token management
@hanzo/iamon npm — IamProvider, useIam, useOrganization — IamProvider, useIam, useOrganizations, useIamToken- Credits & billing — Subscriptions, plans, pricing, payments
Related
- IAM Server -- The Hanzo IAM service
@hanzo/iam— the published package
How is this guide?