examples/

directory
v2.10.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Command cli-device-login signs a command-line tool in with the OAuth 2.0 device authorization grant (RFC 8628).
Command cli-device-login signs a command-line tool in with the OAuth 2.0 device authorization grant (RFC 8628).
server command
Command server is a self-contained demo authorization server for the cli-device-login example: in-memory storage, the RFC 8628 device grant enabled, and a bare sign-in page so the verification flow works end to end in a browser.
Command server is a self-contained demo authorization server for the cli-device-login example: in-memory storage, the RFC 8628 device grant enabled, and a bare sign-in page so the verification flow works end to end in a browser.
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.
hooks is a runnable demo of Config.LifecycleHooks.
hooks is a runnable demo of Config.LifecycleHooks.
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.
webauthn-passkey is a runnable demo of v0.5 passkey registration + login.
webauthn-passkey is a runnable demo of v0.5 passkey registration + login.

Jump to

Keyboard shortcuts

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