st-peter-client/ts
Michael Netshipise dae39e984f first commit
Polyglot client for st-peter (aura-users) — Rust / Go / TypeScript, one
vendored auth proto, versioned in lockstep with the st-peter server (v0.2.0).
Mirrors waymaker-client's layout: proto/ + scripts/ + per-language packages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 14:45:00 +02:00
..
src first commit 2026-06-10 14:45:00 +02:00
README.md first commit 2026-06-10 14:45:00 +02:00
package-lock.json first commit 2026-06-10 14:45:00 +02:00
package.json first commit 2026-06-10 14:45:00 +02:00
tsconfig.json first commit 2026-06-10 14:45:00 +02:00

README.md

@st-peter/client (TypeScript)

Official TypeScript client for st-peter (aura-users). Generated stubs are committed under src/genpb/ (regenerate with npm run gen); the StPeterAuthClient wrapper (token-verify cache, login/2FA/lookup) is layered on top, with the raw wire surface re-exported as authpb.

const auth = StPeterAuthClient.connect("127.0.0.1:9091");
const user = await auth.verifyToken(token); // cached ~60s

See the repo root README for versioning and the authentication-central / authorization-local design.