inai-hono-sdk

Official

Secure Hono apps with InAI Auth plug-in.

AuthorInAI-Team
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrates InAI Auth into Hono applications to secure routes and manage sessions.

Core Features & Use Cases

  • Middleware for global authentication and route protection using inaiAuthMiddleware.
  • API routes for login, register, MFA challenge, refresh, and logout via createAuthRoutes.
  • Route protection with requireAuth to enforce roles and permissions.
  • Context extension to access auth data in handlers.
  • Supports app and platform auth modes, cookie management, and automatic token refresh.

Quick Start

Install the package and wire up inaiAuthMiddleware, createAuthRoutes, and requireAuth in your Hono app to enable full authentication and RBAC.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: inai-hono-sdk
Download link: https://github.com/InAI-Team/inai-auth-skills/archive/main.zip#inai-hono-sdk

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.