Skip to content

AuthHero Main Package

The main AuthHero package is the core library that handles authentication and API requests. It provides the primary functionality for implementing authentication in your applications.

Overview

This package provides:

  • Authentication methods (login, signup, etc.)
  • Token handling and validation
  • User management
  • Integration with various database adapters
  • API for managing authentication resources

Key Features

  • Comprehensive authentication workflows
  • Flexible adapter system for database integration
  • JWT token handling
  • Custom domain support
  • Type-safe Hono context variables system

Documentation

For installation instructions, see the Installation page. For configuration details, see the Configuration page. For the API reference, see the API Reference page. For information about Hono context variables, see the Hono Variables page.

Multi-Tenancy

For multi-tenancy features including runtime fallback adapters (formerly "Main Tenant Adapter"), see the @authhero/multi-tenancy package.

Deprecated Features

The Main Tenant Adapter (withMainTenantFallback) has been deprecated and moved to @authhero/multi-tenancy as the Runtime Fallback Adapter. See the migration guide.

Released under the MIT License.