Files
HeXi/hexi/web_hub/web_hub_auth.py
T

13 lines
304 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2026-09-08 14:25:32 +08:00
"""兼容 shim:统一鉴权已迁移到 hexi.web_hub.web_auth(OAuth2 + SQLite)。"""
from .web_auth import ( # noqa: F401
authenticate,
create_user,
get_user_by_token,
init_auth_db,
issue_token,
oauth2_scheme,
require_admin,
revoke_token,
)