examples/

directory
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2026 License: Apache-2.0

README

examples

Runnable applications built on the library, in the library's own module. Each Go example runs with go run ./examples/<name> from the repository root, and its tests run with the rest of the module. server/ runs with docker compose.

Contents

Name What it holds
quickstart/ Passkey sign-in in one file: the smallest complete server
passkeyapp/ Passkey sign-up, sign-in, step-up, recovery codes, and the admin API, in memory
ghserver/ A GitHub-compatible server that the gh CLI signs in to, through the OAuth provider
mcpserver/ An MCP server protected by mcpauth, with the OAuth provider in the same binary
server/ A docker compose file that runs the tensile-auth server with Postgres 18
agents/ Errands, a complete app with agents limited to one household, approvals, a CLI, and an MCP server

See also

Directories

Path Synopsis
Command agents runs Errands, a web app where households share chores, bills, and errands, and where each person can hand a household to an AI agent.
Command agents runs Errands, a web app where households share chores, bills, and errands, and where each person can hand a household to an AI agent.
cmd/errands command
Command errands is the CLI for the Errands example.
Command errands is the CLI for the Errands example.
Command ghserver is a minimal GitHub-compatible server that the gh CLI can sign in to with "gh auth login --hostname".
Command ghserver is a minimal GitHub-compatible server that the gh CLI can sign in to with "gh auth login --hostname".
Command mcpserver is an MCP server protected by mcpauth, with the tensile-auth OAuth provider that issues its tokens in the same binary.
Command mcpserver is an MCP server protected by mcpauth, with the tensile-auth OAuth provider that issues its tokens in the same binary.
Command passkeyapp is a minimal web application that uses the library for passkey sign-up, sign-in, step-up, and recovery codes.
Command passkeyapp is a minimal web application that uses the library for passkey sign-up, sign-in, step-up, and recovery codes.
Command quickstart is passkey sign-in in one file: run it, open http://localhost:8080, and press Continue.
Command quickstart is passkey sign-in in one file: run it, open http://localhost:8080, and press Continue.

Jump to

Keyboard shortcuts

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