API Reference

Complete reference for all exported controllers, middleware, event handler wrappers, composables, route registrars, and utility functions.

Server-side exports are available from auth-h3client/v1 (H3 v1) and auth-h3client/v2 (H3 v2). Browser-side composables and utilities ship from the separate auth-h3client/client entry point. When using the Nuxt module, server utilities are auto-imported inside the server/ directory and client composables are auto-imported in Vue components and pages.

Routes Reference
Every HTTP route registered by the module, plus the standalone auth status and optional API-token list handlers, with middleware chains, cookies, and response shapes.
Middleware Reference
All authentication guards, CSRF middleware, bot detection middleware, API-key verification, API-token management wrappers, request validation, and error utilities with Reads, Sets, and Responses tables.
Client-side Reference
Browser-side Vue composables and fetch utilities from auth-h3client/client for session state, magic link handling, authenticated requests, and CSRF token reading.
Utilities
Server utilities for token metadata, user data caching, server-to-server requests, API-key forwarding, HMAC signing, cookie management, OAuth helpers, image validation, and more.
Logo