st-peter-client/rust
Michael Netshipise b29beec9e9 admin: get_role_grant_history wrapper — v0.2.4
Capture-audit directory: every user who EVER held one of role_names for a
target, revoked grants included (include_deleted); actor-gated server-side
(untargeted = all targets, or targeted at target_id). PII-free
(user_id + display_name).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JE3r42YdE8tt7vV5zPdJdE
2026-07-17 03:48:22 +02:00
..
src admin: get_role_grant_history wrapper — v0.2.4 2026-07-17 03:48:22 +02:00
Cargo.toml admin: get_role_grant_history wrapper — v0.2.4 2026-07-17 03:48:22 +02:00
README.md first commit 2026-06-10 14:45:00 +02:00
build.rs Add admin surface (AuthAdminService) + scoped token verification — v0.2.1 2026-06-10 21:00:41 +02:00

README.md

st-peter-client (Rust)

Official Rust client for st-peter (aura-users). Stubs are generated at build time from ../proto/st-peter-auth.proto; the ergonomic [AuthClient] wrapper (token-verify cache, login/2FA/lookup) is layered on top, with the raw wire surface available under st_peter_client::authpb.

let auth = st_peter_client::AuthClient::connect("http://127.0.0.1:9091").await?;
let user = auth.verify_token(&token).await?; // cached ~60s

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