examples/

directory
v2.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: MIT

Directories

Path Synopsis
Command agent-policy shows an autonomy denylist enforced as an IAM Deny on an agent.
Command agent-policy shows an autonomy denylist enforced as an IAM Deny on an agent.
Command agent-tool-guard shows the framework-agnostic tool guard: a refund tool that runs freely for small amounts and needs a human approval above a threshold.
Command agent-tool-guard shows the framework-agnostic tool guard: a refund tool that runs freely for small amounts and needs a human approval above a threshold.
Command cli-device-login signs a CLI in with the RFC 8628 device grant.
Command cli-device-login signs a CLI in with the RFC 8628 device grant.
server command
Command server is a self-contained demo authorization server for cli-device-login: in-memory storage, the device grant and a bare sign-in page.
Command server is a self-contained demo authorization server for cli-device-login: in-memory storage, the device grant and a bare sign-in page.
Command cli-login shows a host CLI authenticating against a theauth-go server.
Command cli-login shows a host CLI authenticating against a theauth-go server.
doctor-admin serves /healthz publicly and a root-only /admin/security page that renders the theauth-go security report next to it.
doctor-admin serves /healthz publicly and a root-only /admin/security page that renders the theauth-go security report next to it.
GitHub Actions OIDC login, end to end and offline.
GitHub Actions OIDC login, end to end and offline.
Command hooks demos Config.LifecycleHooks: /auth/* routes with TOTP enabled and every observe-only hook logging a structured line.
Command hooks demos Config.LifecycleHooks: /auth/* routes with TOTP enabled and every observe-only hook logging a structured line.
Host-owned OAuth consent demo.
Host-owned OAuth consent demo.
Policy shrink demo.
Policy shrink demo.
Command taint-guard-go shows the taint aware tool guard.
Command taint-guard-go shows the taint aware tool guard.
Command token-vault shows an agent obtaining a short lived access token for a connected provider on behalf of a user, without ever holding the refresh token.
Command token-vault shows an agent obtaining a short lived access token for a connected provider on behalf of a user, without ever holding the refresh token.
Command token-vault-smoke checks a token vault provider preset against the REAL provider, using your own test credentials.
Command token-vault-smoke checks a token vault provider preset against the REAL provider, using your own test credentials.
totp-stepup is a runnable demo of the v0.5 password + TOTP step-up flow.
totp-stepup is a runnable demo of the v0.5 password + TOTP step-up flow.
Command webauthn-passkey is a runnable demo of passkey registration and login on the /auth/* routes with WebAuthn enabled.
Command webauthn-passkey is a runnable demo of passkey registration and login on the /auth/* routes with WebAuthn enabled.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL