-
Notifications
You must be signed in to change notification settings - Fork 0
Implementer guide
HardlyDifficult edited this page Jul 17, 2026
·
1 revision
Start with the boundary, then drill into the public implementation:
| Responsibility | Source |
|---|---|
| Construct a challenge | src/challenge.ts |
| Encode and parse the SIWE proof | src/authorization-header.ts |
| Bind the exact resource | src/resource-binding.ts |
| Verify signatures and current token authority | src/authorization.ts |
| Adapt nonce storage | src/nonce-store.ts |
| Integrate a resource server | examples/resource-server.ts |
| Exercise success and failure cases | test/authorization.test.ts |
The library deliberately leaves chain reads, delegation policy, protected storage, caching, rate limiting, and audit behavior to the resource server. Treat the current package entrypoint and tests as the executable API reference.
See Security and production before deploying a compatible server.