← 返回
安全合规 中文

Secure Api Starter

Provides a production-ready API template with JWT, API key, OAuth2 authentication, role-based access control, rate limiting, input validation, logging, and e...
提供生产级API模板,集成JWT、API密钥、OAuth2认证、角色权限控制、限流、输入验证、日志记录等功能...
sunshine-del-ux
安全合规 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 510
下载
💾 4
安装
1
版本
#latest

概述

Secure API Starter

Production-ready secure API template.

Features

  • Authentication - JWT, API keys, OAuth2
  • Authorization - Role-based access control
  • Rate Limiting - Per-user, per-IP
  • Input Validation - Schema validation
  • Logging - Request/response logs
  • Error Handling - Structured errors

Quick Start

# Create API
./create-api.sh my-api

# Add authentication
./create-api.sh my-api --auth jwt

# Add rate limiting
./create-api.sh my-api --rate-limit 100

Auth Methods

  • JWT tokens
  • API keys
  • OAuth2 (Google, GitHub)
  • Session-based

Requirements

  • Node.js 18+
  • TypeScript

Author

Sunshine-del-ux

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 14:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,586
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,154
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,699