Skip to main content

Module body_aware_acc_id

Module body_aware_acc_id 

Source
Expand description

v1.4.104: 此模块已搬到 [futu_auth_pipeline::body_aware] + [futu_auth_pipeline::response_filter] (跨 4 surface 共享).

本文件保留为 thin re-export shim, 兼容现有调用方 (gRPC futu-grpc/src/server.rs / WS futu-server/src/ws_listener.rs). 阶段 2-5 4 surface migrate 完后, 调用方逐步切到 futu_auth_pipeline::* 直接调用; 全部切完后此文件可删.

历史:

  • v1.4.103 codex F3.2 / F3.3 / F1.1 / F2.10 (P1) round 3/5: 此模块在 futu-server 加, gRPC + raw WS 共用 build_check_ctxs / filter_acc_list_response 防 hand-copy diverge.
  • v1.4.104: 系统性重构 — 抽 futu-auth-pipeline crate, 4 surface 都依赖.

Functions§

build_check_ctxs
DEPRECATED in pipeline path — 旧 API, 仍保留供 4 surface 调用方未迁移 代码用 (e.g. futu-server::body_aware_acc_id re-export). 新代码请用 [extract_coverage] match variant.
filter_acc_list_response
v1.4.104 兼容: 旧调用方 (gRPC server.rs / WS ws_listener.rs) 用 filter_acc_list_response(proto_id, body, allowed) 直调. 新代码应该用 [futu_auth_pipeline::FilterRegistry::apply] (单一注册表, 加新 filter 不 改调用方).