Files
HeXi/hexi/web_hub/web_hub_auth.py
T
sansenhoshi 131b92b319 结构调整
视频解析多图/多媒体结构 消息体适配
2026-09-08 14:25:32 +08:00

13 lines
304 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_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,
)