Files
HeXi/hexi/web_hub_auth.py
T
sansenhoshiandClaude b61d09f09f Add HeXi bot codebase: custom plugins, web frontends, tests
- hexi core: message handling, rate limiting, cooldown, plugin manager
- Custom plugins: BF stats, daily check-in, quotes, persona cards, etc.
- Community plugins vendored under hexi/plugins with local fixes
- Web admin frontends (learning-chat, persona-admin), unified hexi/web
- Tests for rate_limit/cooldown/memes/persona; poetry.lock

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-01 13:13:40 +08:00

13 lines
300 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8 -*-
"""兼容 shim:统一鉴权已迁移到 hexi.web_auth(OAuth2 + SQLite)。"""
from hexi.web_auth import ( # noqa: F401
authenticate,
create_user,
get_user_by_token,
init_auth_db,
issue_token,
oauth2_scheme,
require_admin,
revoke_token,
)